~ruther/guix-local

ref: 4b9b2595e41d683be25dee85a0c1230ff62ec344 guix-local/gnu/packages/patches/ark-skip-xar-test.patch -rw-r--r-- 2.0 KiB
4b9b2595 — jgart gnu: trealla: Update to 2.89.10. 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Guix libarchive no support xar.

--- ark-24.05.2.orig/autotests/kerfuffle/loadtest.cpp	2024-07-08 11:19:30.347366493 +0800
+++ ark-24.05.2/autotests/kerfuffle/loadtest.cpp	2024-07-08 11:19:47.495641516 +0800
@@ -125,8 +125,6 @@
         qDebug() << "lz4 executable not found in path. Skipping lz4 test.";
     }
 
-    QTest::newRow("xar archive") << QFINDTESTDATA("data/simplearchive.xar") << QStringLiteral("simplearchive") << true << false << false << false << false << 0
-                                 << Archive::Unencrypted << 6 << QStringLiteral("simplearchive") << QString();
 
     QTest::newRow("mimetype child of application/zip") << QFINDTESTDATA("data/test.odt") << QStringLiteral("test") << false << true << false << false << false
                                                        << 0 << Archive::Unencrypted << 17 << QStringLiteral("test") << QString();


--- ark-24.05.2.orig/autotests/kerfuffle/extracttest.cpp	2024-07-08 11:21:25.849219202 +0800
+++ ark-24.05.2/autotests/kerfuffle/extracttest.cpp	2024-07-08 11:22:01.413789814 +0800
@@ -329,19 +329,6 @@
         qDebug() << "lz4 executable not found in path. Skipping lz4 test.";
     }
 
-    archivePath = QFINDTESTDATA("data/simplearchive.xar");
-    setupRow("extract selected entries from a xar archive without path",
-             archivePath,
-             QList<Archive::Entry *>{
-                 new Archive::Entry(this, QStringLiteral("dir1/file11.txt"), QString()),
-                 new Archive::Entry(this, QStringLiteral("file4.txt"), QString()),
-             },
-             optionsNoPaths,
-             2);
-
-    archivePath = QFINDTESTDATA("data/simplearchive.xar");
-    setupRow("extract all entries from a xar archive with path", archivePath, QList<Archive::Entry *>(), optionsPreservePaths, 6);
-
     // Test tarball with leading /, i.e. here /tmp/testfile instead of tmp/testfile
     archivePath = QFINDTESTDATA("data/absolutepath.tar.xz");
     setupRow("extract all entries from a tar archive with absolute path", archivePath, QList<Archive::Entry *>(), optionsPreservePaths, 2);