mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 06:32:33 +00:00
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 <equinox@opensourcerouting.org>
[cherry-picked from master e988dfd35b
]
This commit is contained in:
parent
2f9a659926
commit
9d8927ee1f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user