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.
This commit is contained in:
Jarek Prokop 2024-07-10 17:01:05 +02:00
commit bdfc2237b6

View file

@ -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,