Skip to content

Commit 1bb3aba

Browse files
committed
sharness/t0010: don't pipe /dev/null into $cmd --help tests
License: MIT Signed-off-by: Christian Couder <[email protected]>
1 parent 550c6eb commit 1bb3aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sharness/t0010-basic-commands.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ test_expect_success "All commands accept --help" '
6565
echo 0 > fail
6666
while read -r cmd
6767
do
68-
$cmd --help </dev/null >/dev/null ||
68+
$cmd --help >/dev/null ||
6969
{ echo "$cmd doesnt accept --help"; echo 1 > fail; }
7070
done <commands.txt
7171

0 commit comments

Comments
 (0)