X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..04a123c642b0fc589e29cdd507faf11b85973f79:/tests/archive/ziptest.cpp diff --git a/tests/archive/ziptest.cpp b/tests/archive/ziptest.cpp index 6976b083bb..a42248a37f 100644 --- a/tests/archive/ziptest.cpp +++ b/tests/archive/ziptest.cpp @@ -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,