summaryrefslogtreecommitdiff
path: root/t/t5537-fetch-shallow.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2020-03-04 15:53:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-05 19:09:56 (GMT)
commit0d65f3fb1a544fc40fdebfb6eb372dd87c1d297c (patch)
tree90dcf85bc8711cc48805a48b0c3161f1edaa0b1b /t/t5537-fetch-shallow.sh
parente63cefb024895fcff4b692cad84cb33ac4c81dcc (diff)
downloadgit-0d65f3fb1a544fc40fdebfb6eb372dd87c1d297c.zip
git-0d65f3fb1a544fc40fdebfb6eb372dd87c1d297c.tar.gz
git-0d65f3fb1a544fc40fdebfb6eb372dd87c1d297c.tar.bz2
t5537: adjust test_oid label
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>
Diffstat (limited to 't/t5537-fetch-shallow.sh')
-rwxr-xr-xt/t5537-fetch-shallow.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t5537-fetch-shallow.sh b/t/t5537-fetch-shallow.sh
index 4f10057..4f681db 100755
--- a/t/t5537-fetch-shallow.sh
+++ b/t/t5537-fetch-shallow.sh
@@ -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" &&