]> gitweb.factorcode.org Git - factor.git/commitdiff
Add another unit test so we can see why ping fails, if it does.
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 7 Sep 2011 08:41:49 +0000 (03:41 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 7 Sep 2011 08:41:49 +0000 (03:41 -0500)
extra/ping/ping-tests.factor

index 51250cd02fa4f6834d5210839734cc37346389c7..e9fc20e54c7005438d00f5f634808e7e6e441c16 100644 (file)
@@ -2,6 +2,7 @@ USING: continuations destructors io.sockets kernel ping
 tools.test ;
 IN: ping.tests
 
+[ ] [ "localhost" ping drop ] unit-test
 [ t ] [ "localhost" alive? ] unit-test
 [ t ] [ "127.0.0.1" alive? ] unit-test
 [ f ] [ "0.0.0.0" alive? ] unit-test