summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2017-05-28 20:57:47 +0200
committerDan Fandrich <dan@coneharvesters.com>2017-05-28 20:57:47 +0200
commit01f94879670ceb3b5d2ff7bf5017eab6f0abb98c (patch)
tree6480a6578247b37d18b548b7fab5b2bb2a53cc5e
parentc2227dae53e88fc0e39bb8c48bfad917e0c7b11e (diff)
downloadcurl-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.
-rwxr-xr-xtests/runtests.pl15
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");