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 c1f6d14 commit 321d42c
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 @@ -11,7 +11,7 @@ assert_command() {
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 321d42c

Please sign in to comment.