From b54913f7cb6f58362b09c7e1ca611512dde53106 Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Thu, 9 Apr 2015 08:15:54 +0000 Subject: android/common: clean exit so that LAVA can trust test results lava-test-shell-run is used to detect if the lava-test-shell finshed successfully. If the exit code of test case is nonzero, even all tests finished normally, lava-test-shell-run test will fail. Change-Id: If4c8266ccdfcb78ac99dd7bc4288601454e7af6b Signed-off-by: Chase Qi --- common/scripts/kselftest-runner.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common') diff --git a/common/scripts/kselftest-runner.sh b/common/scripts/kselftest-runner.sh index 6220051..7318db5 100755 --- a/common/scripts/kselftest-runner.sh +++ b/common/scripts/kselftest-runner.sh @@ -22,3 +22,5 @@ do [ "${test}" -a "${result}" ] && echo "${test}: ${result}" && unset test && unset result done < ${LOG} +# clean exit so that lava-test-shell can trust the results +exit 0 -- cgit v1.2.3