Compare commits

...

2 Commits

Author SHA1 Message Date
zhrf2020
c1b6b3ae0e
Merge d316ec8602 into 64a38aec8c 2024-12-18 10:55:45 -05:00
zhrf2020
d316ec8602
Update test-rofiles-fuse.sh
1.A normal user executing this user's occasional use case fails;
2.The main reason is that the cmd: fusermount -u mnt failed, of course, fuse is not excluded as a defect;
3.It is recommended that ostree do a circumvention here: the normal user skips this use case.
2022-10-04 09:12:01 +08:00

View File

@ -24,6 +24,12 @@ set -euo pipefail
skip_without_fuse skip_without_fuse
skip_without_user_xattrs skip_without_user_xattrs
user=$(env | grep USER | cut -d "=" -f 2)
if [ "$user" != "root" ]
then
skip "user:$user does not support running the test case"
fi
setup_test_repository "bare" setup_test_repository "bare"
echo "1..13" echo "1..13"