Skip to content

Commit

Permalink
weaker test for unshare
Browse files Browse the repository at this point in the history
  • Loading branch information
mgree authored Oct 10, 2024
1 parent ae949a1 commit 3acbbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fi

TRY_REQUIRE_PROG([readlink])
TRY_REQUIRE_PROG([unshare], [for unshare], [
res=$(unshare --mount --map-root-user --user --pid --fork -- ls $PWD/try 2>/dev/null)
res=$(unshare --mount --propagation unchanged --user --pid --fork -- ls $PWD/try 2>/dev/null)
], [
test "$?" != 0 || test "$res" != "$PWD/try"
], [], [could not run unshare])
Expand Down

0 comments on commit 3acbbaf

Please sign in to comment.