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:
Dan Fandrich 2023-03-29 11:27:53 -07:00
parent 0bdb95ecbf
commit 58e85d6d1d
5 changed files with 43 additions and 6 deletions

View file

@ -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+)$/) {