Skip to content

Commit

Permalink
Fix mktemp template
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed Jul 24, 2021
1 parent 2050346 commit 81324f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bats-core/test_functions.bash
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ run() { # [--keep-empty-lines] [--output merged|separate|stderr|stdout] [--] <co
;;
separate) # splits stderr into own file and fills $stderr/$stderr_lines too
local bats_run_separate_stderr_file
bats_run_separate_stderr_file="$(mktemp "${BATS_TEST_TMPDIR}/separate-stderr-XXX")"
bats_run_separate_stderr_file="$(mktemp "${BATS_TEST_TMPDIR}/separate-stderr-XXXXXX")"
pre_command=bats_redirect_stderr_into_file
;;
stderr) # suppresses stdout and fills $stderr/$stderr_lines
Expand Down

0 comments on commit 81324f9

Please sign in to comment.