Skip to content

Commit 158084c

Browse files
committed
Fix startup errors, missing getopt() args
1 parent a4ea4e6 commit 158084c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/run-regression-tests.pl.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use strict;
1212
use Time::HiRes qw(gettimeofday sleep);
1313
use POSIX qw(WIFEXITED WEXITSTATUS WIFSIGNALED WTERMSIG);
14-
use File::Spec qw(rel2abs);
14+
use File::Spec::Functions qw(rel2abs);
1515
use File::Basename qw(basename dirname);
1616
use FileHandle;
1717
use IPC::Open2 qw(open2);
@@ -54,7 +54,7 @@ $SIG{TERM} = $SIG{INT} = \&handle_interrupt;
5454
my $platform = "apache";
5555

5656
my %opt;
57-
getopts('A:E:D:C:T:H:a:p:dvh', \%opt);
57+
getopts('A:E:D:C:T:H:S:a:p:dvh', \%opt);
5858

5959
if ($opt{d}) {
6060
$Data::Dumper::Indent = 1;
@@ -125,7 +125,7 @@ unless (defined $opt{S}) {
125125
LOGS_DIR => $FILES_DIR,
126126
SCRIPT_DIR => $SCRIPT_DIR,
127127
REGRESSION_DIR => $REG_DIR,
128-
DIST_ROOT => File::Spec->rel2abs(dirname("$SCRIPT_DIR/../../..")),
128+
DIST_ROOT => File::Spec->rel2abs(dirname("$SCRIPT_DIR/../..")),
129129
AUDIT_LOG => $opt{A},
130130
DEBUG_LOG => $opt{D},
131131
ERROR_LOG => $opt{E},

0 commit comments

Comments
 (0)