/[Apache-SVN]/httpd/test/trunk/perl-framework/Apache-Test/Apache-TestItSelf/t/httpd_arg.t
ViewVC logotype

Diff of /httpd/test/trunk/perl-framework/Apache-Test/Apache-TestItSelf/t/httpd_arg.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- httpd/test/trunk/perl-framework/Apache-Test/Apache-TestItSelf/t/httpd_arg.t	2004/12/20 21:37:34	122882
+++ httpd/test/trunk/perl-framework/Apache-Test/Apache-TestItSelf/t/httpd_arg.t	2004/12/20 21:47:29	122883
@@ -104,14 +104,13 @@ sub t_TEST_plus_httpd_arg {
     unlike $err, qr/\[  error\]/, $cmd;
 
     # test that httpd is found in t/REPORT (if exists)
-    $cmd = "t/REPORT";
-    if (-e $cmd) {
+    SKIP: {
+        $cmd = "t/REPORT";
+        skip "$cmd doesn't exist", 1 unless -e $cmd;
+
         ($out, $err) = myrun3($cmd);
         like $out, qr/Server version: $c->{httpd_version}/, $cmd;
     }
-    else {
-        ok 1;
-    }
 }
 
 __END__

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26