From 6b54d45ca06de445d36ad3ae10446073f652264f Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 31 Oct 2022 12:35:46 +0100 Subject: CC/test test_runner.sh: correctly report the reuslt The test runner is supposed to report the reult in a file called 'result' in the top-level action directory. However, before starting the actual test, it changes the working directory to the subdir 'work' where the input of the test action is located. Therefore, when reporting the result, the correct file name is '../result'. Fix this. --- CC/test/test_runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CC/test') diff --git a/CC/test/test_runner.sh b/CC/test/test_runner.sh index 716eaa9..84b9072 100644 --- a/CC/test/test_runner.sh +++ b/CC/test/test_runner.sh @@ -42,7 +42,7 @@ else RESULT=FAIL fi date +%s > ../time-stop -echo "${RESULT}" > result +echo "${RESULT}" > ../result if [ "${RESULT}" '!=' PASS ] then -- cgit v1.2.3