summaryrefslogtreecommitdiff
path: root/t/t7004-tag.sh
diff options
context:
space:
mode:
authorMichael J Gruber <git@grubix.eu>2017-09-07 14:02:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-09-08 01:37:24 (GMT)
commit4db464f815a38c7d9feee5db883f78216002ae3d (patch)
tree4907d9d267fc5519b56815c915ef90756d611735 /t/t7004-tag.sh
parent3ec7d702a89c647ddf42a59bc3539361367de9d5 (diff)
downloadgit-4db464f815a38c7d9feee5db883f78216002ae3d.zip
git-4db464f815a38c7d9feee5db883f78216002ae3d.tar.gz
git-4db464f815a38c7d9feee5db883f78216002ae3d.tar.bz2
t7004: move limited stack prereq to test-lib
The lazy prerequisite ULIMIT_STACK_SIZE is used only in t7004 so far. Move it to test-lib.sh so that it can be used in other tests (which it will be in a follow-up commit). Signed-off-by: Michael J Gruber <git@grubix.eu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7004-tag.sh')
-rwxr-xr-xt/t7004-tag.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index dbcd6f6..5bf5ace 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -1863,12 +1863,6 @@ test_expect_success 'version sort with very long prerelease suffix' '
git tag -l --sort=version:refname
'
-run_with_limited_stack () {
- (ulimit -s 128 && "$@")
-}
-
-test_lazy_prereq ULIMIT_STACK_SIZE 'run_with_limited_stack true'
-
# we require ulimit, this excludes Windows
test_expect_success ULIMIT_STACK_SIZE '--contains and --no-contains work in a deep repo' '
>expect &&