]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5324: reorder `run_with_limited_open_files test_might_fail`
authorDenton Liu <liu.denton@gmail.com>
Tue, 7 Jul 2020 06:04:35 +0000 (02:04 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jul 2020 20:07:27 +0000 (13:07 -0700)
In the future, we plan on only allowing `test_might_fail` to work on a
restricted subset of commands, including `git`. Reorder the commands so
that `run_with_limited_open_files` comes before `test_might_fail`. This
way, `test_might_fail` operates on a git command.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5324-split-commit-graph.sh

index 269d0964a3e0b51bceffe0362f45f5c0a8bd229c..9b850ea9070f8081b1709b2646a73535e77b15d2 100755 (executable)
@@ -399,7 +399,7 @@ test_expect_success ULIMIT_FILE_DESCRIPTORS 'handles file descriptor exhaustion'
                for i in $(test_seq 64)
                do
                        test_commit $i &&
-                       test_might_fail run_with_limited_open_files git commit-graph write \
+                       run_with_limited_open_files test_might_fail git commit-graph write \
                                --split=no-merge --reachable || return 1
                done
        )