diff --git a/t/t0003-attributes.sh b/t/t0003-attributes.sh
index dae76b39b80233183a984a91ffbe397f68430a9e..f1debeb7ad872a501f11c951a1312bc8901b5e49 100755 (executable)
--- a/t/t0003-attributes.sh
+++ b/t/t0003-attributes.sh
test_expect_success 'command line checks' '
+ test_must_fail git check-attr &&
+ test_must_fail git check-attr -- &&
+ test_must_fail git check-attr -- f &&
+ echo "f" | test_must_fail git check-attr --stdin &&
+ echo "f" | test_must_fail git check-attr --stdin -- f &&
+ echo "f" | test_must_fail git check-attr --stdin test -- f &&
+ echo "f" | test_must_fail git check-attr --stdin test f &&
test_must_fail git check-attr "" -- f
'