aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcurl.pl')
-rwxr-xr-xtests/testcurl.pl7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 3ffaa53ba..24ea04fa9 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -432,9 +432,8 @@ if ($targetos ne '' && $targetos =~ /netware/) {
system('../../curlver');
}
} else {
-logit "display curl$binext --version output";
-
-system("./src/curl$binext --version");
+ logit "display curl$binext --version output";
+ system("./src/curl$binext --version");
}
if ($gnulikebuild) {
@@ -465,7 +464,7 @@ if ($gnulikebuild) {
}
# create a tarball if we got that option.
-if ($mktarball ne '') {
+if (($mktarball ne '') && (-f $mktarball)) {
system($mktarball);
}