Git fork

t5200: move `update-server-info -h` test from t1517

t1517 is now focused on testing subcommands outside a repository.
Move the in-repo `-h` test for `update-server-info` to t5200,
which covers this command.

Suggested-by: Patrick Steinhardt <ps@pks.im>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Usman Akinyemi and committed by
Junio C Hamano
18aae638 39fc4085

+5 -5
-5
t/t1517-outside-repo.sh
··· 107 107 test_grep "^error: remote-curl" actual 108 108 ' 109 109 110 - test_expect_success 'update-server-info does not crash with -h' ' 111 - test_expect_code 129 git update-server-info -h >usage && 112 - test_grep "[Uu]sage: git update-server-info " usage 113 - ' 114 - 115 110 test_expect_success 'prune does not crash with -h' ' 116 111 test_expect_code 129 git prune -h >usage && 117 112 test_grep "[Uu]sage: git prune " usage &&
+5
t/t5200-update-server-info.sh
··· 46 46 test_must_be_empty dups 47 47 ' 48 48 49 + test_expect_success 'update-server-info does not crash with -h' ' 50 + test_expect_code 129 git update-server-info -h >usage && 51 + test_grep "[Uu]sage: git update-server-info " usage 52 + ' 53 + 49 54 test_done