diff --git a/libexec/bats-exec-test b/libexec/bats-exec-test index 2c70426..290ff59 100755 --- a/libexec/bats-exec-test +++ b/libexec/bats-exec-test @@ -37,6 +37,7 @@ run() { set +e output="$("$@" 2>&1)" status="$?" + echo "$output" | sed -e 's/^/ #output#/' > "$BATS_OUT" IFS=$'\n' lines=($output) [ -z "$e" ] || set -e }