diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-04-23 14:28:09 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-04-23 14:28:09 +0000 |
commit | d500a85e640d1cd270747c12e17c511b53864436 (patch) | |
tree | 84b29a989b968808a6d96c4988ff099db90b2cb8 /cddl/contrib | |
parent | 8e8f1cc9bb945ffaa4b49231e1ebcead1baa62ce (diff) | |
download | src-d500a85e640d1cd270747c12e17c511b53864436.tar.gz src-d500a85e640d1cd270747c12e17c511b53864436.zip |
dtrace tests: Fix tst.system.d after ping/ping6 unification
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'cddl/contrib')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.system.d | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.system.d b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.system.d index 63a850133b3f..4d5cced71c79 100644 --- a/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.system.d +++ b/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/tst.system.d @@ -35,11 +35,11 @@ BEGIN this->b = -2; system("echo %s %d %d", "foo", this->a, this->b); - system("ping -q -c 1 localhost 2>/dev/null | grep -v '^round-trip '"); + system("ping -q -c 1 127.0.0.1 2>/dev/null | grep -v '^round-trip '"); system("echo %d", ++this->a); - system("ping -q -c 1 localhost 2>/dev/null | grep -v '^round-trip '"); + system("ping -4 -q -c 1 127.0.0.1 2>/dev/null | grep -v '^round-trip '"); system("echo %d", ++this->a); - system("ping -q -c 1 localhost 2>/dev/null | grep -v '^round-trip '"); + system("ping -4 -q -c 1 127.0.0.1 2>/dev/null | grep -v '^round-trip '"); system("echo %d", ++this->a); exit(0); } |