Skip to content

Commit

Permalink
Fix "tests: libiamroot.so: conditionize xattr(7) tests"
Browse files Browse the repository at this point in the history
This fixes commit f3c73aa.
  • Loading branch information
gportay committed Nov 28, 2024
1 parent 1f518b6 commit 4940e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests-libiamroot.so.bash
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export -n IAMROOT_EXEC_IGNORE
export -n IAMROOT_PATH_RESOLUTION_IGNORE

OS="$(uname -o 2>/dev/null || uname -s 2>/dev/null)"
XATTR="$(command -v getfattr >/dev/null 2>&1 && echo 1)"
XATTR="$(command -v getfattr >/dev/null 2>&1 && echo 1 || echo 0)"
PROCFS="$(test -d /proc/1 && ! test -r /proc/1/root && echo 1 || echo 0)"

env-root() {
Expand Down

0 comments on commit 4940e90

Please sign in to comment.