From e988dfd35b0d9df437ac043a613472437c8842e6 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Fri, 16 Dec 2016 00:09:46 +0100 Subject: [PATCH] tests: fix exit <> return mix-up in dejagnu exit 0 exits the entire testrunner... Oops. Also, "unresolved" breaks too many things, so make this a pass. Signed-off-by: David Lamparter --- tests/libzebra.tests/testcommands.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libzebra.tests/testcommands.exp b/tests/libzebra.tests/testcommands.exp index d4bfc8231f..c5d5a00730 100644 --- a/tests/libzebra.tests/testcommands.exp +++ b/tests/libzebra.tests/testcommands.exp @@ -5,8 +5,8 @@ if {![info exists env(QUAGGA_TEST_COMMANDS)]} { # sadly, the test randomly fails when configure parameters differ from # what was used to create testcommands.refout. this can be fixed by # shipping a matching vtysh_cmd.c, which we'll add after 0.99.23 - unresolved "$test_name" - exit 0 + pass "$test_name" + return 0 } spawn sh -c "./testcommands -e 0 < $env(srcdir)/testcommands.in | diff -au - $env(srcdir)/testcommands.refout" -- 2.39.5