Author: ludo
Date: Thu Oct  7 20:10:45 2010
New Revision: 24151
URL: https://svn.nixos.org/websvn/nix/?rev=24151&sc=1

Log:
Avahi test: Use `getent hosts' instead of `ping -c1'.

Modified:
   nixos/trunk/tests/avahi.nix

Modified: nixos/trunk/tests/avahi.nix
==============================================================================
--- nixos/trunk/tests/avahi.nix Thu Oct  7 20:10:40 2010        (r24150)
+++ nixos/trunk/tests/avahi.nix Thu Oct  7 20:10:45 2010        (r24151)
@@ -52,9 +52,9 @@
        $two->mustSucceed("test `wc -l < out` -gt 0");
 
        # NSS-mDNS.
-       print STDERR $one->mustSucceed("ping -c1 one.local");
-       print STDERR $one->mustSucceed("ping -c1 two.local");
-       print STDERR $two->mustSucceed("ping -c1 one.local");
-       print STDERR $two->mustSucceed("ping -c1 two.local");
+       print STDERR $one->mustSucceed("getent hosts one.local");
+       print STDERR $one->mustSucceed("getent hosts two.local");
+       print STDERR $two->mustSucceed("getent hosts one.local");
+       print STDERR $two->mustSucceed("getent hosts two.local");
     '';
 }
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to