diff options
| author | Jakob Unterwurzacher | 2025-11-22 21:44:51 +0100 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2025-11-22 21:51:27 +0100 |
| commit | 75247e14612d2e71311aeeb7060ea704c96c3154 (patch) | |
| tree | 7146ada2875fd22284600c379425c8f47d7de366 /internal/syscallcompat/thread_credentials_linux_32.go | |
| parent | ed1c5e4a9f5ce1921f3ec03b32e591ce828ec5b9 (diff) | |
reverse: fix TestXattrList failure
On my Fedora I used to get this failure:
--- FAIL: TestXattrList (0.00s)
xattr_test.go:52: wrong number of names, want=20 have=21
xattr_test.go:58: mismatch on attr "security.selinux": valA = "", valC = "xxxxxxxxyyyyyyyyyyyyyyyzzzzzzzzzzzzz"
First step is to print the actual value using xattr.LGet.
This improves the error message to this:
--- FAIL: TestXattrList (0.00s)
xattr_test.go:53: wrong number of names, want=20 have=21
xattr_test.go:59: mismatch on attr "security.selinux": valA = "", valC = "system_u:object_r:fusefs_t:s0\x00"
2nd step is to ignore "security." attribs as we have no control
over them.
Diffstat (limited to 'internal/syscallcompat/thread_credentials_linux_32.go')
0 files changed, 0 insertions, 0 deletions
