Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/rump/rumpnet Disable reverse DNS lookups in ping to av...



details:   https://anonhg.NetBSD.org/src/rev/27e727061e3a
branches:  trunk
changeset: 943742:27e727061e3a
user:      gson <gson%NetBSD.org@localhost>
date:      Wed Sep 09 09:17:14 2020 +0000

description:
Disable reverse DNS lookups in ping to avoid spurious test failures
due to unresponsive DNS servers.

diffstat:

 tests/rump/rumpnet/t_shmif.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 60ed40b1e200 -r 27e727061e3a tests/rump/rumpnet/t_shmif.sh
--- a/tests/rump/rumpnet/t_shmif.sh     Wed Sep 09 09:10:52 2020 +0000
+++ b/tests/rump/rumpnet/t_shmif.sh     Wed Sep 09 09:17:14 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_shmif.sh,v 1.4 2019/05/13 17:55:09 bad Exp $
+#      $NetBSD: t_shmif.sh,v 1.5 2020/09/09 09:17:14 gson Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -61,7 +61,7 @@
                do
                        [ ${y} -eq ${x} ] && continue
                        atf_check -s exit:0 -o ignore -e ignore \
-                           rump.ping -c 1 1.1.1.${y}
+                           rump.ping -n -c 1 1.1.1.${y}
                done
        done
 }



Home | Main Index | Thread Index | Old Index