| 1 | Guix libarchive no support xar.
|
| 2 |
|
| 3 | |
| 4 | |
| 5 | @@ -125,8 +125,6 @@
|
| 6 | qDebug() << "lz4 executable not found in path. Skipping lz4 test.";
|
| 7 | }
|
| 8 |
|
| 9 | - QTest::newRow("xar archive") << QFINDTESTDATA("data/simplearchive.xar") << QStringLiteral("simplearchive") << true << false << false << false << false << 0
|
| 10 | - << Archive::Unencrypted << 6 << QStringLiteral("simplearchive") << QString();
|
| 11 |
|
| 12 | QTest::newRow("mimetype child of application/zip") << QFINDTESTDATA("data/test.odt") << QStringLiteral("test") << false << true << false << false << false
|
| 13 | << 0 << Archive::Unencrypted << 17 << QStringLiteral("test") << QString();
|
| 14 |
|
| 15 |
|
| 16 | |
| 17 | |
| 18 | @@ -329,19 +329,6 @@
|
| 19 | qDebug() << "lz4 executable not found in path. Skipping lz4 test.";
|
| 20 | }
|
| 21 |
|
| 22 | - archivePath = QFINDTESTDATA("data/simplearchive.xar");
|
| 23 | - setupRow("extract selected entries from a xar archive without path",
|
| 24 | - archivePath,
|
| 25 | - QList<Archive::Entry *>{
|
| 26 | - new Archive::Entry(this, QStringLiteral("dir1/file11.txt"), QString()),
|
| 27 | - new Archive::Entry(this, QStringLiteral("file4.txt"), QString()),
|
| 28 | - },
|
| 29 | - optionsNoPaths,
|
| 30 | - 2);
|
| 31 | -
|
| 32 | - archivePath = QFINDTESTDATA("data/simplearchive.xar");
|
| 33 | - setupRow("extract all entries from a xar archive with path", archivePath, QList<Archive::Entry *>(), optionsPreservePaths, 6);
|
| 34 | -
|
| 35 | // Test tarball with leading /, i.e. here /tmp/testfile instead of tmp/testfile
|
| 36 | archivePath = QFINDTESTDATA("data/absolutepath.tar.xz");
|
| 37 | setupRow("extract all entries from a tar archive with absolute path", archivePath, QList<Archive::Entry *>(), optionsPreservePaths, 2);
|