add: error appropriately on repository with no commits
[gitweb.git] / t / t5616-partial-clone.sh
index 336f02a41a66b48269e8eb6030d5323cffb8b686..9643acb1615fe0d28a7f0e386fa69a570a93dc8e 100755 (executable)
@@ -281,7 +281,7 @@ test_expect_success 'upon cloning, check that all refs point to objects' '
        test_must_fail git -c protocol.version=2 clone \
                --filter=blob:none $HTTPD_URL/one_time_sed/server repo 2>err &&
 
-       grep "did not send all necessary objects" err &&
+       test_i18ngrep "did not send all necessary objects" err &&
 
        # Ensure that the one-time-sed script was used.
        ! test -e "$HTTPD_ROOT_PATH/one-time-sed"