dtrace tests: Fix tst.system.d after ping/ping6 unification

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2021-04-23 10:28:09 -04:00
parent 8e8f1cc9bb
commit d500a85e64

View File

@ -35,11 +35,11 @@ BEGIN
this->b = -2; this->b = -2;
system("echo %s %d %d", "foo", this->a, this->b); 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("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("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("echo %d", ++this->a);
exit(0); exit(0);
} }