diff options
author | Jeff King <peff@peff.net> | 2015-03-13 00:53:07 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-12 23:25:45 -0700 |
commit | 9a308de37c485068d6470d4c51e231a36e651e98 (patch) | |
tree | 729b1b09ab2b596b58499fc1133769360bc07a0b /t/t5541-http-push-smart.sh | |
parent | 89c57ab3f0168b192d5ccc159972fdb26e0ba80b (diff) | |
download | git-9a308de37c485068d6470d4c51e231a36e651e98.tar.gz |
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-x | t/t5541-http-push-smart.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/t/t5541-http-push-smart.sh b/t/t5541-http-push-smart.sh index d2c681ebfd..1ecb5881ac 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 | |