diff --git a/tests/test-demo-buildsystem.sh b/tests/test-demo-buildsystem.sh index 2dc78dc30d..cd47f7c00b 100755 --- a/tests/test-demo-buildsystem.sh +++ b/tests/test-demo-buildsystem.sh @@ -24,6 +24,12 @@ set -euo pipefail skip_without_fuse 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" # Run "triggers" like ldconfig, gtk-update-icon-cache, etc.