show return code when run verbose

This commit is contained in:
Daniel Stenberg 2002-08-30 10:50:22 +00:00
parent bd3bb70ee8
commit 713cb56fea
1 changed files with 5 additions and 1 deletions

View File

@ -621,7 +621,11 @@ sub singletest {
if($errorcode || $res) {
if($errorcode == $res) {
if(!$short) {
$errorcode =~ s/\n//;
if($verbose) {
print " received errorcode $errorcode OK";
}
elsif(!$short) {
print " error OK";
}
}