mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-02 01:18:23 +03:00
Update test-demo-buildsystem.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.
This commit is contained in:
parent
017ea3edc1
commit
6a053c19eb
@ -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
|
||||||
|
|
||||||
echo "1..1"
|
echo "1..1"
|
||||||
|
|
||||||
# Run "triggers" like ldconfig, gtk-update-icon-cache, etc.
|
# Run "triggers" like ldconfig, gtk-update-icon-cache, etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user