]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Don't put temp files directly into /tmp; the test
authorTim Kientzle <kientzle@gmail.com>
Mon, 29 Dec 2008 01:18:31 +0000 (20:18 -0500)
committerTim Kientzle <kientzle@gmail.com>
Mon, 29 Dec 2008 01:18:31 +0000 (20:18 -0500)
harness has already created and chdir() into a suitable
temporary directory.

SVN-Revision: 312

libarchive/test/test_read_large.c

index 4e9a8518b10d573c544fdec48e0d93fe9e2258cf..3830bf57ad8ced7982e3a7164da2bcb2e3336c45 100644 (file)
@@ -34,7 +34,7 @@ DEFINE_TEST(test_read_large)
 {
        unsigned int i;
        int tmpfilefd;
-       char tmpfilename[] = "/tmp/test-read_large.XXXXXX";
+       char tmpfilename[] = "test-read_large.XXXXXX";
        size_t used;
        struct archive *a;
        struct archive_entry *entry;