Skip to content

Commit 3204014

Browse files
authored
Merge pull request #733 from henrich/fix-shellcheck-warnings
Fix redirection bug (SC2259) in test/testlib.sh
2 parents 6a9ba64 + 2bc31a9 commit 3204014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ report_failure () {
146146
printf "test: %-73s $msg\\n" "$desc ..."
147147
(
148148
sed 's/^/ /' <"$TRASHDIR/out" |
149-
grep -a -v -e '^\+ end_test' -e '^+ set +x' <"$TRASHDIR/out" |
149+
grep -a -v -e '^\+ end_test' -e '^+ set +x' - "$TRASHDIR/out" |
150150
sed 's/[+] test_status=/test failed. last command exited with /' |
151151
sed 's/^/ /'
152152
) 1>&2

0 commit comments

Comments
 (0)