From bdfc2237b63e79efca07998ade5288b00fd60a37 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Wed, 10 Jul 2024 17:01:05 +0200 Subject: [PATCH] basic_test_suites/cucumber_with_aruba: `tee` the output instead of just redirecting it. Use tee, save logfile of the command in the directory for later but, also leave it in the output in the log when inspecting just log. --- tests/basic_test_suites/cucumber_with_aruba/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic_test_suites/cucumber_with_aruba/test.sh b/tests/basic_test_suites/cucumber_with_aruba/test.sh index 7854913..268f7ee 100755 --- a/tests/basic_test_suites/cucumber_with_aruba/test.sh +++ b/tests/basic_test_suites/cucumber_with_aruba/test.sh @@ -4,7 +4,7 @@ tmp=$(mktemp -d) cp -r features "$tmp" pushd "$tmp" -cucumber > test_out.txt +cucumber 2>&1 | tee test_out.txt # Provide a way for this test to fail. If something # is undefined, the exit code of `cucumber` is 0,