diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2017-05-28 20:57:47 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2017-05-28 20:57:47 +0200 |
commit | 01f94879670ceb3b5d2ff7bf5017eab6f0abb98c (patch) | |
tree | 6480a6578247b37d18b548b7fab5b2bb2a53cc5e /tests | |
parent | c2227dae53e88fc0e39bb8c48bfad917e0c7b11e (diff) | |
download | curl-01f94879670ceb3b5d2ff7bf5017eab6f0abb98c.tar.gz |
runtests.pl: removed <precommand> feature
This hasn't been used in over a decade. <precheck> can still be used to
run commands before the main test.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 15 |
1 files changed, 0 insertions, 15 deletions
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"); |