Avahi test: Use getent hosts' instead of
ping -c1'.
svn path=/nixos/trunk/; revision=24151
This commit is contained in:
parent
dc18e5488a
commit
5e6186418e
@ -52,9 +52,9 @@ with pkgs;
|
|||||||
$two->mustSucceed("test `wc -l < out` -gt 0");
|
$two->mustSucceed("test `wc -l < out` -gt 0");
|
||||||
|
|
||||||
# NSS-mDNS.
|
# NSS-mDNS.
|
||||||
print STDERR $one->mustSucceed("ping -c1 one.local");
|
print STDERR $one->mustSucceed("getent hosts one.local");
|
||||||
print STDERR $one->mustSucceed("ping -c1 two.local");
|
print STDERR $one->mustSucceed("getent hosts two.local");
|
||||||
print STDERR $two->mustSucceed("ping -c1 one.local");
|
print STDERR $two->mustSucceed("getent hosts one.local");
|
||||||
print STDERR $two->mustSucceed("ping -c1 two.local");
|
print STDERR $two->mustSucceed("getent hosts two.local");
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user