Disable reverse DNS lookups in ping to avoid spurious test failures

due to unresponsive DNS servers.
This commit is contained in:
gson 2020-09-09 09:17:14 +00:00
parent 248797713d
commit 2d97242511
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@ crossping_body()
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
}