test-basic-user-only: Skip final step if no user xattrs
We don't want to skip the entire test, because the whole point of bare-user-only is that it works in the absence of xattrs; but we do need to skip this last stage, which explicitly uses a bare-user repository. Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #1120 Approved by: cgwalters
This commit is contained in:
parent
41e6871e51
commit
3fcd81df86
|
|
@ -72,6 +72,7 @@ $CMD_PREFIX ostree --repo=repo checkout -U -H content-with-dir-world-writable di
|
||||||
assert_file_has_mode dir-co/worldwritable-dir 775
|
assert_file_has_mode dir-co/worldwritable-dir 775
|
||||||
echo "ok didn't make world-writable dir"
|
echo "ok didn't make world-writable dir"
|
||||||
|
|
||||||
|
if ! skip_one_without_user_xattrs; then
|
||||||
cd ${test_tmpdir}
|
cd ${test_tmpdir}
|
||||||
rm repo-input -rf
|
rm repo-input -rf
|
||||||
rm repo -rf
|
rm repo -rf
|
||||||
|
|
@ -90,3 +91,4 @@ if files_are_hardlinked repo/${afile_link_relobjpath} repo-input/${afile_link_re
|
||||||
fi
|
fi
|
||||||
$OSTREE fsck -q
|
$OSTREE fsck -q
|
||||||
echo "ok hardlink pull from bare-user"
|
echo "ok hardlink pull from bare-user"
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue