This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixture: Add missing trailing NUL in security.selinux xattr
Because we were only doing bare-user checkouts in the test suite (and not trying to physically materialize the xattrs) and because ostree today doesn't validate xattrs, this problem was silently ignored. But I was looking at changing the tests to do a checkout, and this caused confusing failures. Add the missing trailing `NUL`. Also while we're here, split the xattr function in two; one which returns the Rust-native value and a wrapper which converts to GVariant. This will be useful later.
- Loading branch information