Signed-off-by: Paul Moore <[email protected]>
---
tests/regression | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/regression b/tests/regression
index 1fb633c..a492013 100755
--- a/tests/regression
+++ b/tests/regression
@@ -499,8 +499,9 @@ function run_test_basic() {
# run the command
run_test_command "$1" "$2" ""
- if [[ $? -ne 0 ]]; then
- print_result $1 "FAILURE" "$2 rc=$?"
+ local rc=$?
+ if [[ $rc -ne 0 ]]; then
+ print_result $1 "FAILURE" "$2 rc=$rc"
stats_failure=$(($stats_failure+1))
else
print_result $1 "SUCCESS" ""
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss