summaryrefslogtreecommitdiff
path: root/t/perf/p3400-rebase.sh
diff options
context:
space:
mode:
authorNipunn Koorapati <nipunn@dropbox.com>2020-10-20 13:41:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-10-20 19:52:23 (GMT)
commited5a24573d8caf222dbb81a46dc97a4459928e2d (patch)
tree2c82e0e2479939590f0decd0c74a498ac2090630 /t/perf/p3400-rebase.sh
parent89afd5f5ad920d1b5f01548bf5c8aeca8e56e899 (diff)
downloadgit-ed5a24573d8caf222dbb81a46dc97a4459928e2d.zip
git-ed5a24573d8caf222dbb81a46dc97a4459928e2d.tar.gz
git-ed5a24573d8caf222dbb81a46dc97a4459928e2d.tar.bz2
perf lint: add make test-lint to perf tests
Perf tests have not been linted for some time. They've grown some seq instead of test_seq. This runs the existing lints on the perf tests as well. Signed-off-by: Nipunn Koorapati <nipunn@dropbox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf/p3400-rebase.sh')
-rwxr-xr-xt/perf/p3400-rebase.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/perf/p3400-rebase.sh b/t/perf/p3400-rebase.sh
index d202aae..7a0bb29 100755
--- a/t/perf/p3400-rebase.sh
+++ b/t/perf/p3400-rebase.sh
@@ -9,16 +9,16 @@ test_expect_success 'setup rebasing on top of a lot of changes' '
git checkout -f -B base &&
git checkout -B to-rebase &&
git checkout -B upstream &&
- for i in $(seq 100)
+ for i in $(test_seq 100)
do
# simulate huge diffs
echo change$i >unrelated-file$i &&
- seq 1000 >>unrelated-file$i &&
+ test_seq 1000 >>unrelated-file$i &&
git add unrelated-file$i &&
test_tick &&
git commit -m commit$i unrelated-file$i &&
echo change$i >unrelated-file$i &&
- seq 1000 | tac >>unrelated-file$i &&
+ test_seq 1000 | tac >>unrelated-file$i &&
git add unrelated-file$i &&
test_tick &&
git commit -m commit$i-reverse unrelated-file$i ||