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:
parent
2479b4a773
commit
bdfc2237b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue