3 test_description
='Basic sort performance tests'
8 test_expect_success
'setup' '
9 git ls-files --stage "*.[ch]" "*.sh" |
11 git cat-file --batch >unsorted
15 sort <unsorted >expect
18 test_perf
'string_list_sort()' '
19 test-tool string-list sort <unsorted >actual
22 test_expect_success
'string_list_sort() sorts like sort(1)' '
23 test_cmp_bin expect actual