ts_init_subtest "MODE-x-bit"
if [ "$QEMU_USER" == "1" ]; then
ts_skip_subtest "running under qemu-user emulation"
+elif [ "$UID" != "0" ]; then
+ ts_skip_subtest "no root permissions"
else
{
coproc MKFDS { "$TS_HELPER_MKFDS" ro-regular-file $FD; }
ts_init_subtest "XMODE-x-bit"
if [ "$QEMU_USER" == "1" ]; then
ts_skip_subtest "running under qemu-user emulation"
+elif [ "$UID" != "0" ]; then
+ ts_skip_subtest "no root permissions"
else
{
coproc MKFDS { "$TS_HELPER_MKFDS" ro-regular-file $FD; }