Skip to content

Commit 0d65f3f

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e63cefb commit 0d65f3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t5537-fetch-shallow.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ test_expect_success 'setup' '
1717
commit 4 &&
1818
git config --global transfer.fsckObjects true &&
1919
test_oid_cache <<-EOF
20-
sed sha1:s/0034shallow %s/0036unshallow %s/
21-
sed sha256:s/004cshallow %s/004eunshallow %s/
20+
perl sha1:s/0034shallow %s/0036unshallow %s/
21+
perl sha256:s/004cshallow %s/004eunshallow %s/
2222
EOF
2323
'
2424

@@ -243,7 +243,7 @@ test_expect_success 'shallow fetches check connectivity before writing shallow f
243243
# with an empty packfile. This is done by refetching with a shorter
244244
# depth (to ensure that the packfile is empty), and overwriting the
245245
# shallow line in the response with the unshallow line we want.
246-
printf "$(test_oid sed)" \
246+
printf "$(test_oid perl)" \
247247
"$(git -C "$REPO" rev-parse HEAD)" \
248248
"$(git -C "$REPO" rev-parse HEAD^)" \
249249
>"$HTTPD_ROOT_PATH/one-time-perl" &&

0 commit comments

Comments
 (0)