]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/archive/ziptest.cpp
using ordinary Show for popup windows as on MSW which activates it as well, I'll...
[wxWidgets.git] / tests / archive / ziptest.cpp
index 6976b083bb903ef4b8c6b4f7f09ef01556672648..a42248a37f42b15f2623c3ebbc6e32cd75de49ff 100644 (file)
@@ -180,7 +180,7 @@ void ZipPipeTestCase::runTest()
 
     {
         PFileInputStream in(cmd);
-        if (in.Ok())
+        if (in.IsOk())
             out.Write(in);
     }
 
@@ -233,11 +233,8 @@ ArchiveTestSuite *ziptest::makeSuite()
 {
     ArchiveTestSuite::makeSuite();
 
-#if !defined WXARC_NO_POPEN && !defined __WXMSW__
-    // If have popen then can check the piped output of 'zip - -'.
-    // The gnuwin32 build of infozip does work for this, e.g.:
-    //  C:\>echo test data to pipe through zip | zip -q > foo.zip 
-    // doesn't produce a valid zip, so disabled for now.
+#if 0
+    // zip doesn't support this any more so disabled
     if (IsInPath(wxT("zip")))
         for (int options = 0; options <= PipeIn; options += PipeIn) {
             string name = Description(wxT("ZipPipeTestCase"), options,