t5541: move run_with_cmdline_limit to test-lib.sh
commit9a308de37c485068d6470d4c51e231a36e651e98
authorJeff King <peff@peff.net>
Fri, 13 Mar 2015 04:53:07 +0000 (13 00:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Mar 2015 06:25:45 +0000 (12 23:25 -0700)
tree729b1b09ab2b596b58499fc1133769360bc07a0b
parent89c57ab3f0168b192d5ccc159972fdb26e0ba80b
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>
t/t5541-http-push-smart.sh
t/test-lib.sh