guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: tar: Skip tests that rely on undefined unlinkat(2) behavior.


From: Ludovic Courtès
Subject: 02/02: gnu: tar: Skip tests that rely on undefined unlinkat(2) behavior.
Date: Mon, 15 Jun 2015 22:29:00 +0000

civodul pushed a commit to branch core-updates
in repository guix.

commit d3b4c1358c620135c577eca81c05e09bc1f4bc4a
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jun 16 00:27:27 2015 +0200

    gnu: tar: Skip tests that rely on undefined unlinkat(2) behavior.
    
    Fixes <http://bugs.gnu.org/20597>.
    Reported by Andrew Patterson <address@hidden>.
    
    * gnu/packages/patches/tar-skip-unreliable-tests.patch: New file.
    * gnu/packages/base.scm (tar)[source](patches): Add it.
    * gnu-system.am (dist_patch_DATA): Add it.
---
 gnu-system.am                                      |    1 +
 gnu/packages/base.scm                              |    4 ++-
 .../patches/tar-skip-unreliable-tests.patch        |   32 ++++++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletions(-)

diff --git a/gnu-system.am b/gnu-system.am
index ad9348f..247aff8 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -559,6 +559,7 @@ dist_patch_DATA =                                           
\
   gnu/packages/patches/subversion-sqlite-3.8.9-fix.patch       \
   gnu/packages/patches/superlu-dist-scotchmetis.patch          \
   gnu/packages/patches/tar-d_ino_in_dirent-fix.patch           \
+  gnu/packages/patches/tar-skip-unreliable-tests.patch         \
   gnu/packages/patches/tcsh-fix-autotest.patch                 \
   gnu/packages/patches/teckit-cstdio.patch                     \
   gnu/packages/patches/texi2html-document-encoding.patch       \
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index fa7c9e8..31331a1 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -138,7 +138,9 @@ implementation offers several extensions over the standard 
utility.")
             (sha256
              (base32
               "1wi2zwm4c9r3h3b8y4w0nm0qq897kn8kyj9k22ba0iqvxj48vvk4"))
-            (patches (list (search-patch "tar-d_ino_in_dirent-fix.patch")))))
+            (patches (map search-patch
+                          '("tar-d_ino_in_dirent-fix.patch"
+                            "tar-skip-unreliable-tests.patch")))))
    (build-system gnu-build-system)
    (synopsis "Managing tar archives")
    (description
diff --git a/gnu/packages/patches/tar-skip-unreliable-tests.patch 
b/gnu/packages/patches/tar-skip-unreliable-tests.patch
new file mode 100644
index 0000000..27f0d7d
--- /dev/null
+++ b/gnu/packages/patches/tar-skip-unreliable-tests.patch
@@ -0,0 +1,32 @@
+Skip tests that rely on unlinkat(2) behavior that varies between
+kernel versions and is unspecified.
+
+See <http://bugs.gnu.org/20597>
+and <http://lists.gnu.org/archive/html/bug-tar/2015-06/msg00000.html>.
+
+--- tar-1.28/tests/testsuite   2014-07-27 22:35:27.000000000 +0200
++++ tar-1.28/tests/testsuite   2015-06-16 00:21:16.906380739 +0200
+@@ -34680,6 +34680,7 @@ find .
+ )"
+ at_fn_check_prepare_notrace 'an embedded newline' "remfiles08a.at:31"
+ ( $at_check_trace;
++exit 77
+ mkdir gnu
+ (cd gnu
+ TEST_TAR_FORMAT=gnu
+@@ -34762,6 +34763,7 @@ find .
+ )"
+ at_fn_check_prepare_notrace 'an embedded newline' "remfiles08b.at:36"
+ ( $at_check_trace;
++exit 77
+ mkdir gnu
+ (cd gnu
+ TEST_TAR_FORMAT=gnu
+@@ -34850,6 +34852,7 @@ find .
+ )"
+ at_fn_check_prepare_notrace 'a `...` command substitution' "remfiles08c.at:31"
+ ( $at_check_trace;
++exit 77
+ mkdir gnu
+ (cd gnu
+ TEST_TAR_FORMAT=gnu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]