aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-03-14 21:27:10 +0100
committerBernd Schubert <bschubert@ddn.com>2024-03-20 12:32:39 +0100
commitf041818c633645754ddc1ceabb002805739be7aa (patch)
tree2d0f688f9460f3f6df2a126ca363c9a9813aa4bc /test
parent71a97226e89b790fbc76ff14ee127c7b3c242782 (diff)
downloadlibfuse-f041818c633645754ddc1ceabb002805739be7aa.tar.gz
Add back s-bit for compiled fusermount
This is also needed by some tests and was accidentally removed in commit aab146eea8877ee744a1b5a0da8bbbf31d14bad1
Diffstat (limited to 'test')
-rwxr-xr-xtest/ci-build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ci-build.sh b/test/ci-build.sh
index c41de7a..73893a6 100755
--- a/test/ci-build.sh
+++ b/test/ci-build.sh
@@ -57,6 +57,10 @@ for CC in gcc gcc-9 gcc-10 clang; do
# libfuse will first try the install path and then system defaults
sudo chmod 4755 ${PREFIX_DIR}/bin/fusermount3
+ # also needed for some of the tests
+ sudo chown root:root util/fusermount3
+ sudo chmod 4755 util/fusermount3
+
${TEST_CMD}
popd
rm -fr build-${CC}
@@ -83,6 +87,10 @@ sanitized_build()
sudo ninja install
sudo chmod 4755 ${PREFIX_DIR}/bin/fusermount3
+ # also needed for some of the tests
+ sudo chown root:root util/fusermount3
+ sudo chmod 4755 util/fusermount3
+
# Test as root and regular user
sudo ${TEST_CMD}
# Cleanup temporary files (since they are now owned by root)