From 8dda471a92d3579ab13bd4eaa9fe7f69ff74e25d Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 20 Sep 2000 00:42:24 +0000 Subject: [PATCH] test should not exit with zero exit status if nsupdate dumps core --- bin/tests/system/nsupdate/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/nsupdate/tests.sh b/bin/tests/system/nsupdate/tests.sh index 05bb9fce63..1231582427 100644 --- a/bin/tests/system/nsupdate/tests.sh +++ b/bin/tests/system/nsupdate/tests.sh @@ -15,7 +15,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: tests.sh,v 1.11 2000/08/01 01:16:13 tale Exp $ +# $Id: tests.sh,v 1.12 2000/09/20 00:42:24 gson Exp $ # # Perform tests @@ -40,7 +40,7 @@ $PERL ../digcomp.pl knowngood.ns1.before dig.out.ns2 || status=1 echo "I:updating zone" # nsupdate will print a ">" prompt to stdout as it gets each input line. -$NSUPDATE < update.scp > /dev/null +$NSUPDATE < update.scp > /dev/null || status=1 echo "I:sleeping 15 seconds for server to incorporate changes" sleep 15