Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Jan 13, 2025
1 parent 321d42c commit fdcb534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/utils/assertions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ assert_command_fail() {
stderrf="$(mktemp)"
stdoutf="$(mktemp)"
statusf="$(mktemp)"
( set +e; "$@" 2>"$stderrf" >"$stdoutf"; echo -n "$?" >"$statusf" )
( set +e; "$@" 2>"$stderrf" >"$stdoutf" 3>&-; echo -n "$?" >"$statusf" )
status=$(< "$statusf"); rm "$statusf"
stderr=$(< "$stderrf"); rm "$stderrf"
stdout=$(< "$stdoutf"); rm "$stdoutf"
Expand Down

0 comments on commit fdcb534

Please sign in to comment.