From c8934a07a01e004a4af0e4363b9116a98f935855 Mon Sep 17 00:00:00 2001 From: Bob Ball Date: Sat, 15 Feb 2014 15:02:30 +0000 Subject: [PATCH] Output result to file to be polled --- run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index f62b967..ce5f85f 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -114,9 +114,9 @@ cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh function trapexit { exit_code=$? if [ $exit_code -eq 0 ]; then - echo "Final result: Tests passed" + echo "Final result: Tests passed" | tee ~/result.txt else - echo "Final result: Tests failed" + echo "Final result: Tests failed" | tee ~/result.txt fi # Do not use 'exit' - bash will preserve the status