summaryrefslogtreecommitdiff
path: root/t/t5541-http-push-smart.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-03-13 04:53:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-13 06:25:45 (GMT)
commit9a308de37c485068d6470d4c51e231a36e651e98 (patch)
tree729b1b09ab2b596b58499fc1133769360bc07a0b /t/t5541-http-push-smart.sh
parent89c57ab3f0168b192d5ccc159972fdb26e0ba80b (diff)
downloadgit-9a308de37c485068d6470d4c51e231a36e651e98.zip
git-9a308de37c485068d6470d4c51e231a36e651e98.tar.gz
git-9a308de37c485068d6470d4c51e231a36e651e98.tar.bz2
t5541: move run_with_cmdline_limit to test-lib.sh
We use this to test http pushing with a restricted commandline. Other scripts (like t5551, which does http fetching) will want to use it, too. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5541-http-push-smart.sh')
-rwxr-xr-xt/t5541-http-push-smart.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/t5541-http-push-smart.sh b/t/t5541-http-push-smart.sh
index d2c681e..1ecb588 100755
--- a/t/t5541-http-push-smart.sh
+++ b/t/t5541-http-push-smart.sh
@@ -324,12 +324,6 @@ test_expect_success 'push into half-auth-complete requires password' '
test_cmp expect actual
'
-run_with_limited_cmdline () {
- (ulimit -s 128 && "$@")
-}
-
-test_lazy_prereq CMDLINE_LIMIT 'run_with_limited_cmdline true'
-
test_expect_success CMDLINE_LIMIT 'push 2000 tags over http' '
sha1=$(git rev-parse HEAD) &&
test_seq 2000 |