3
0
Fork 0
forked from mirrors/nixpkgs

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

svn path=/nixos/trunk/; revision=24151
This commit is contained in:
Ludovic Courtès 2010-10-07 20:10:45 +00:00
parent dc18e5488a
commit 5e6186418e

View file

@ -52,9 +52,9 @@ with pkgs;
$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");
'';
}