Skip to content

Commit 100c2da

Browse files
rscharfegitster
authored andcommitted
p3400: stop using tac(1)
b3dfeeb (rebase: avoid computing unnecessary patch IDs, 2016-07-29) added a perf test that calls tac(1) from GNU core utilities. Support systems without it by reversing the generated list using sort -nr instead. sort(1) with options -n and -r is already used in other tests. Signed-off-by: René Scharfe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 225bc32 commit 100c2da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/perf/p3400-rebase.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test_expect_success 'setup rebasing on top of a lot of changes' '
1818
test_tick &&
1919
git commit -m commit$i unrelated-file$i &&
2020
echo change$i >unrelated-file$i &&
21-
test_seq 1000 | tac >>unrelated-file$i &&
21+
test_seq 1000 | sort -nr >>unrelated-file$i &&
2222
git add unrelated-file$i &&
2323
test_tick &&
2424
git commit -m commit$i-reverse unrelated-file$i ||

0 commit comments

Comments
 (0)