@cryptotaxi247 / kubo / commits / 1bb3abafe

sharness/t0010: don't pipe /dev/null into $cmd --help tests

License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>

Christian Couder committed Mar 20, 2018 at 21:56 UTC 1bb3abafe2523c72b52e5d9e9cee5c51762a1fc3
1 file changed +1 -1
test/sharness/t0010-basic-commands.sh
+1 -1
@@ -65,7 +65,7 @@ test_expect_success "All commands accept --help" '
65 echo 0 > fail
66 while read -r cmd
67 do
68 - $cmd --help </dev/null >/dev/null ||
68 + $cmd --help >/dev/null ||
69 { echo "$cmd doesnt accept --help"; echo 1 > fail; }
70 done <commands.txt
71