mirror of
https://github.com/curl/curl.git
synced 2026-08-25 15:53:39 +03:00
tests: fix remaining servers to run with a dynamic log directory
This final commit in the series is sufficient to allow the tests succeed if $LOGDIR is changed in runtests.pl. Ref: #10818 Closes #10866
This commit is contained in:
parent
0bdb95ecbf
commit
58e85d6d1d
5 changed files with 43 additions and 6 deletions
|
|
@ -157,6 +157,12 @@ while(@ARGV) {
|
|||
shift @ARGV;
|
||||
}
|
||||
}
|
||||
elsif($ARGV[0] eq '--logdir') {
|
||||
if($ARGV[1]) {
|
||||
$logdir = "$path/". $ARGV[1];
|
||||
shift @ARGV;
|
||||
}
|
||||
}
|
||||
elsif($ARGV[0] eq '--sshport') {
|
||||
if($ARGV[1]) {
|
||||
if($ARGV[1] =~ /^(\d+)$/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue