summaryrefslogtreecommitdiff
path: root/t/t5200-update-server-info.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t5200-update-server-info.sh')
-rwxr-xr-xt/t5200-update-server-info.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t5200-update-server-info.sh b/t/t5200-update-server-info.sh
index 8365907055..a551e955b5 100755
--- a/t/t5200-update-server-info.sh
+++ b/t/t5200-update-server-info.sh
@@ -46,4 +46,9 @@ test_expect_success 'midx does not create duplicate pack entries' '
test_must_be_empty dups
'
+test_expect_success 'update-server-info does not crash with -h' '
+ test_expect_code 129 git update-server-info -h >usage &&
+ test_grep "[Uu]sage: git update-server-info " usage
+'
+
test_done