From: Dan Fandrich Date: Sun, 28 May 2017 18:57:47 +0000 (+0200) Subject: runtests.pl: removed feature X-Git-Tag: curl-7_54_1~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01f94879670ceb3b5d2ff7bf5017eab6f0abb98c;p=curl runtests.pl: removed feature This hasn't been used in over a decade. can still be used to run commands before the main test. --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 5eafdd5db..05a8bb469 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -3594,21 +3594,6 @@ sub singletest { my $dumped_core; my $cmdres; - # Apr 2007: precommand isn't being used and could be removed - my @precommand= getpart("client", "precommand"); - if($precommand[0]) { - # this is pure perl to eval! - my $code = join("", @precommand); - eval $code; - if($@) { - logmsg "perl: $code\n"; - logmsg "precommand: $@"; - stopservers($verbose); - timestampskippedevents($testnum); - return -1; - } - } - if($gdbthis) { my $gdbinit = "$TESTDIR/gdbinit$testnum"; open(GDBCMD, ">$LOGDIR/gdbcmd");