X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/992a1e83eb3fa4a7e6a19288e7c0af7c5d2b25c0..99fdd8034b4a5cdb0100a33d0b3d5e26079c1695:/test/libapt/extracttar_test.cc?ds=sidebyside diff --git a/test/libapt/extracttar_test.cc b/test/libapt/extracttar_test.cc index b4e1fd37f..0255bd767 100644 --- a/test/libapt/extracttar_test.cc +++ b/test/libapt/extracttar_test.cc @@ -20,7 +20,7 @@ class Stream : public pkgDirStream TEST(ExtractTar, ExtractTar) { - EXPECT_EQ(system("tar c makefile | gzip > tar.tgz"), 0); + EXPECT_EQ(system("tar c /etc/passwd 2>/dev/null | gzip > tar.tgz"), 0); FileFd fd("tar.tgz", FileFd::ReadOnly); unlink("tar.tgz");