Skip to content

Commit d359e11

Browse files
committed
proper definition of os variable
1 parent 7ba99cd commit d359e11

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

t/12_diff_opensslversions.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ my $diff="";
2121
my $distro_openssl="/usr/bin/openssl";
2222
my @args="";
2323
# that can be done better but I am a perl n00b ;-)
24-
my $os=`perl -e 'print "$^O";'`;
24+
my $os="$^O";
2525

2626
die "Unable to open $prg" unless -f $prg;
2727
die "Unable to open $distro_openssl" unless -f $distro_openssl;

t/31_isJSON_valid.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ my $cmd_timeout="--openssl-timeout=10";
1818
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
1919
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
2020
# that can be done better but I am a perl n00b ;-)
21-
my $os=`perl -e 'print "$^O";'`;
21+
my $os="$^O";'
2222
2323
die "Unable to open $prg" unless -f $prg;
2424

0 commit comments

Comments
 (0)