]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
test: unset DRACUT_NO_XATTR after build_client_rootfs
authorBenjamin Drung <benjamin.drung@canonical.com>
Fri, 30 Jan 2026 23:58:41 +0000 (00:58 +0100)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Wed, 4 Feb 2026 12:46:18 +0000 (07:46 -0500)
`build_client_rootfs` sets `DRACUT_NO_XATTR` to not require xattr
support which is noot needed for the client rootfs. To not influence the
test coverage for xattr support, unset `DRACUT_NO_XATTR` afterwards.

test/test-functions

index f53bd79bc35f6f067f4598a1f08793e8321517d1..bf4760a8a10d97a445b1c08a7af7c2f0f4284aba 100644 (file)
@@ -164,6 +164,8 @@ build_client_rootfs() {
     if command -v hardlink > /dev/null; then
         hardlink -q "$rootdir"
     fi
+
+    unset DRACUT_NO_XATTR
 }
 
 # Call dracut and log its call in verbose mode