t7004: rename ULIMIT test prerequisite to ULIMIT_STACK_SIZE
authorStefan Beller <sbeller@google.com>
Tue, 14 Apr 2015 22:25:07 +0000 (15:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2015 04:28:02 +0000 (21:28 -0700)
During creation of the patch series our discussion we could have a
more descriptive name for the prerequisite for the test so it stays
unique when other limits of ulimit are introduced.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7004-tag.sh
index fa207f3b8cae5397904f5fb8da2b20b67d297415..d1ff5c94f2f3241b3b1ed436d0011280986abab7 100755 (executable)
@@ -1491,10 +1491,10 @@ run_with_limited_stack () {
        (ulimit -s 128 && "$@")
 }
 
-test_lazy_prereq ULIMIT 'run_with_limited_stack true'
+test_lazy_prereq ULIMIT_STACK_SIZE 'run_with_limited_stack true'
 
 # we require ulimit, this excludes Windows
-test_expect_success ULIMIT '--contains works in a deep repo' '
+test_expect_success ULIMIT_STACK_SIZE '--contains works in a deep repo' '
        >expect &&
        i=1 &&
        while test $i -lt 8000