summaryrefslogtreecommitdiff
path: root/test/libapt/extracttar_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/libapt/extracttar_test.cc')
-rw-r--r--test/libapt/extracttar_test.cc2
1 files changed, 1 insertions, 1 deletions
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");