]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5537: adjust test_oid label
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 4 Mar 2020 15:53:12 +0000 (15:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Mar 2020 19:09:56 +0000 (11:09 -0800)
We recently switched to using Perl instead of `sed` in the httpd-based
tests. Let's reflect that in the label we give the corresponding commit
hashes.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5537-fetch-shallow.sh

index 4f10057e9f1ebb7d812ecdadfc12af2e4d4607ea..4f681dbbe11c7f37d47d30bfa33a215c0dd9e189 100755 (executable)
@@ -17,8 +17,8 @@ test_expect_success 'setup' '
        commit 4 &&
        git config --global transfer.fsckObjects true &&
        test_oid_cache <<-EOF
-       sed sha1:s/0034shallow %s/0036unshallow %s/
-       sed sha256:s/004cshallow %s/004eunshallow %s/
+       perl sha1:s/0034shallow %s/0036unshallow %s/
+       perl sha256:s/004cshallow %s/004eunshallow %s/
        EOF
 '
 
@@ -243,7 +243,7 @@ test_expect_success 'shallow fetches check connectivity before writing shallow f
        # with an empty packfile. This is done by refetching with a shorter
        # depth (to ensure that the packfile is empty), and overwriting the
        # shallow line in the response with the unshallow line we want.
-       printf "$(test_oid sed)" \
+       printf "$(test_oid perl)" \
               "$(git -C "$REPO" rev-parse HEAD)" \
               "$(git -C "$REPO" rev-parse HEAD^)" \
               >"$HTTPD_ROOT_PATH/one-time-perl" &&