Add a patch to skip the test-parent test if /var/tmp doesn't support user xattrs, hopefully fixing FTBFS on x86-csail-02 buildd

This commit is contained in:
Simon McVittie 2016-04-25 12:51:45 +01:00
parent a1bdb2d2b2
commit 2c1dc4dac4
3 changed files with 30 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
ostree (2016.5-2) experimental; urgency=medium
* Add a patch to skip the test-parent test if /var/tmp doesn't support
user xattrs, hopefully fixing FTBFS on x86-csail-02 buildd
-- Simon McVittie <smcv@debian.org> Mon, 25 Apr 2016 12:51:33 +0100
ostree (2016.5-1) experimental; urgency=medium ostree (2016.5-1) experimental; urgency=medium
* New upstream release * New upstream release

View File

@ -1 +1,2 @@
libtest-show-files-contents-when-assertions-about-them-fa.patch libtest-show-files-contents-when-assertions-about-them-fa.patch
test-parent-this-test-requires-user-xattrs.patch

View File

@ -0,0 +1,22 @@
From: Simon McVittie <smcv@debian.org>
Date: Mon, 25 Apr 2016 12:50:32 +0100
Subject: test-parent: this test requires user xattrs
Signed-off-by: Simon McVittie <smcv@debian.org>
---
tests/test-parent.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/test-parent.sh b/tests/test-parent.sh
index 05b102a..d1f5d7c 100755
--- a/tests/test-parent.sh
+++ b/tests/test-parent.sh
@@ -21,6 +21,8 @@ set -euo pipefail
. $(dirname $0)/libtest.sh
+skip_without_user_xattrs
+
echo '1..2'
setup_test_repository "archive-z2"