From: Simon McVittie Date: Sun, 26 Jun 2016 13:26:37 +0000 (+0100) Subject: entry_pathname_test_helper: these tests need extended attributes X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~407^2^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f38c33fec8f98812a4e8471b1e887930bd6d16c1;p=ostree.git entry_pathname_test_helper: these tests need extended attributes Signed-off-by: Simon McVittie Closes: #366 Approved by: cgwalters --- diff --git a/tests/test-libarchive-import.c b/tests/test-libarchive-import.c index aaa3c37b..3ef379e3 100644 --- a/tests/test-libarchive-import.c +++ b/tests/test-libarchive-import.c @@ -433,6 +433,9 @@ entry_pathname_test_helper (gconstpointer data, gboolean on) OstreeRepoCommitModifier *modifier = NULL; gboolean met_etc_file = FALSE; + if (skip_if_no_xattr (td)) + goto out; + modifier = ostree_repo_commit_modifier_new (0, NULL, NULL, NULL); ostree_repo_commit_modifier_set_xattr_callback (modifier, path_cb, NULL, &met_etc_file);