]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
pzstd: fix test failure on headless build 406/head
authorPádraig Brady <P@draigBrady.com>
Thu, 6 Oct 2016 14:13:10 +0000 (15:13 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 6 Oct 2016 21:38:27 +0000 (22:38 +0100)
Remove this test as pass/fail status is
dependent on whether I/O is connected to a tty.
It currrently passes on a tty but fails on
a package build system for example.

contrib/pzstd/test/OptionsTest.cpp

index e7d4b2b3ec3e67d076555c2d63bafd59aa572881..b3efe2b7ef5b370946034c52ff5584567a4698a8 100644 (file)
@@ -180,12 +180,6 @@ TEST(Options, GetOutputFile) {
     EXPECT_SUCCESS(options.parse(args.size(), args.data()));
     EXPECT_EQ("x.zst", options.getOutputFile(options.inputFiles[0]));
   }
-  {
-    Options options;
-    auto args = makeArray("-o-");
-    EXPECT_FAILURE(options.parse(args.size(), args.data()));
-    EXPECT_EQ("-", options.getOutputFile(options.inputFiles[0]));
-  }
   {
     Options options;
     auto args = makeArray("x", "y", "-o", nullOutput);