summaryrefslogtreecommitdiff
path: root/tests/getpart.pm
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-26 22:56:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-26 22:56:32 +0000
commit1ceb77b4dcf82cf8eb60690a941dc3cf47a59107 (patch)
tree9feca7f5c64ac50b07227fbd50c69584a74966ef /tests/getpart.pm
parent3430ce79072c9212a1cfbef7d4c2b5d63bbe6c6e (diff)
downloadcurl-1ceb77b4dcf82cf8eb60690a941dc3cf47a59107.tar.gz
we need to hide this warning since it otherwise appears on all verifiedserver
requests to the ftp server!
Diffstat (limited to 'tests/getpart.pm')
-rw-r--r--tests/getpart.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/getpart.pm b/tests/getpart.pm
index 7331be7e6..cb890d96a 100644
--- a/tests/getpart.pm
+++ b/tests/getpart.pm
@@ -103,7 +103,9 @@ sub loadtest {
}
else {
# failure
- print STDERR "file $file wouldn't open!\n";
+ if($warning) {
+ print STDERR "file $file wouldn't open!\n";
+ }
return 1;
}
return 0;