aboutsummaryrefslogtreecommitdiff
path: root/t/t1460-refs-migrate.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1460-refs-migrate.sh')
-rwxr-xr-xt/t1460-refs-migrate.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t1460-refs-migrate.sh b/t/t1460-refs-migrate.sh
index 0e1116a319..5246468024 100755
--- a/t/t1460-refs-migrate.sh
+++ b/t/t1460-refs-migrate.sh
@@ -276,11 +276,11 @@ test_expect_success 'multiple reftable blocks with multiple entries' '
test_when_finished "rm -rf repo" &&
git init --ref-format=files repo &&
test_commit -C repo first &&
- printf "create refs/heads/ref-%d HEAD\n" $(test_seq 5000) >stdin &&
- git -C repo update-ref --stdin <stdin &&
+ test_seq -f "create refs/heads/ref-%d HEAD" 5000 |
+ git -C repo update-ref --stdin &&
test_commit -C repo second &&
- printf "update refs/heads/ref-%d HEAD\n" $(test_seq 3000) >stdin &&
- git -C repo update-ref --stdin <stdin &&
+ test_seq -f "update refs/heads/ref-%d HEAD" 3000 |
+ git -C repo update-ref --stdin &&
test_migration repo reftable true
'