Message ID | 20121218161516.23742.45632.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_test_shell/lava-test-case' --- lava_test_shell/lava-test-case 2012-12-04 22:20:34 +0000 +++ lava_test_shell/lava-test-case 2012-12-18 13:40:59 +0000 @@ -74,4 +74,8 @@ if [ -n "${MEASUREMENT+x}" ]; then echo $MEASUREMENT > $result_dir/measurement fi -exit $rc + +# lava-test-case testname --shell false should report a fail as test result +# but not fail itself; hence don't honor 'rc' if we reach this, but exit 0 +exit 0 +