diff options
author | rob <rob@cvs.openbsd.org> | 2017-08-11 21:36:05 +0000 |
---|---|---|
committer | rob <rob@cvs.openbsd.org> | 2017-08-11 21:36:05 +0000 |
commit | 98a66bca2b9c8052e2abad448ae75d80b70665d5 (patch) | |
tree | 61fc5126c5f47872b72bf190f0717dfc1fbb22c4 | |
parent | bda0e09dc4819e6f0da56bc659a507a53ce2c49e (diff) |
Add a wait call between different invocations of snmpd test runs to avoid
failed to bind errors due to SNMP UDP socket: Address already in use.
Discussed and ok jca@.
-rw-r--r-- | regress/usr.sbin/snmpd/snmpd.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/regress/usr.sbin/snmpd/snmpd.sh b/regress/usr.sbin/snmpd/snmpd.sh index d4d435edbbf..7172561f7ae 100644 --- a/regress/usr.sbin/snmpd/snmpd.sh +++ b/regress/usr.sbin/snmpd/snmpd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: snmpd.sh,v 1.1 2017/08/11 17:45:02 rob Exp $ +# $OpenBSD: snmpd.sh,v 1.2 2017/08/11 21:36:04 rob Exp $ #/* # * Copyright (c) Rob Pierce <rob@2keys.ca> # * @@ -150,6 +150,7 @@ then fi kill $(pgrep snmpd) >/dev/null 2>&1 +wait # # # # # CONFIG TWO # # # # # @@ -192,6 +193,7 @@ then fi kill $(pgrep snmpd) >/dev/null 2>&1 +wait # # # # # CONFIG THREE # # # # # @@ -225,6 +227,7 @@ then fi kill $(pgrep snmpd) >/dev/null 2>&1 +wait # # # # # CONFIG FOUR # # # # # |