]> sjero.net Git - wget/blobdiff - tests/run-px
Test for -O, -nc.
[wget] / tests / run-px
index febb0de4db001ada69b256443d21398624d206fa..f6c8cf6e5573ffd2f2a53f81a9c8aacf0f186d80 100755 (executable)
@@ -36,6 +36,7 @@ my @tests = (
     'Test-O--no-content-disposition-trivial.px',
     'Test-O-nonexisting.px',
     'Test-O.px',
+    'Test-O-nc.px',
     'Test-Restrict-Lowercase.px',
     'Test-Restrict-Uppercase.px',
     'Test--spider-fail.px',
@@ -61,3 +62,10 @@ for (my $i=0; $i != @tests; ++$i) {
     }
     print "$tests[$i]\n";
 }
+
+print "\n";
+print scalar(@results) . " tests were run\n";
+print scalar(grep $_ == 0, @results) . " PASS\n";
+print scalar(grep $_ != 0, @results) . " FAIL\n";
+
+exit scalar (grep $_ != 0, @results);