From d3b4c1358c620135c577eca81c05e09bc1f4bc4a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 16 Jun 2015 00:27:27 +0200 Subject: gnu: tar: Skip tests that rely on undefined unlinkat(2) behavior. Fixes . Reported by Andrew Patterson . * 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. --- .../patches/tar-skip-unreliable-tests.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 gnu/packages/patches/tar-skip-unreliable-tests.patch (limited to 'gnu/packages/patches') 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 0000000000..27f0d7df11 --- /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 +and . + +--- 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 -- cgit 1.4.1