diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-12 06:27:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-03-12 09:00:00 -0400 |
commit | cfbf35136d5ebce4e0db6032f3c0b1ad423871d6 (patch) | |
tree | 94509220ccba66c93ecae05c84cd1409f5d3a72f /tests/local.at | |
parent | tests: filter SANDBOX_PREDICT (diff) | |
download | sandbox-cfbf35136d5ebce4e0db6032f3c0b1ad423871d6.tar.gz sandbox-cfbf35136d5ebce4e0db6032f3c0b1ad423871d6.tar.bz2 sandbox-cfbf35136d5ebce4e0db6032f3c0b1ad423871d6.zip |
sandbox: pass shell exit status up
If the command sandbox was instructed to execute failed, make sure we pass
that exact exit status back up instead of normalizing everything to 0/1.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/local.at')
-rw-r--r-- | tests/local.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/local.at b/tests/local.at index 8df87c1..e97f491 100644 --- a/tests/local.at +++ b/tests/local.at @@ -7,7 +7,7 @@ AT_SETUP([SB_SECTION/$1]) AT_XFAIL_IF([]SB_SECTION[-0 >/dev/null ; test $? -eq 77]) AT_SB_CHECK( [. $abs_top_srcdir/tests/]SB_SECTION[-$1.sh], - [0], + m4_ifval($4,$4,[0]), m4_ifval($2,$2,[ignore]), m4_ifval($3,$3,[ignore])) AT_CLEANUP]) |