summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/ts/mount/umount-alltargets2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ts/mount/umount-alltargets b/tests/ts/mount/umount-alltargets
index 995630aff..3b5498fc2 100755
--- a/tests/ts/mount/umount-alltargets
+++ b/tests/ts/mount/umount-alltargets
@@ -18,6 +18,8 @@ ts_skip_nonroot
$TS_CMD_UMOUNT --help | grep -q all-targets
[ $? -eq 1 ] && ts_skip "all-targets unsupported"
+[ -L /etc/mtab ] || ts_skip "regular mtab"
+
# set global variable TS_DEVICE
ts_scsi_debug_init dev_size_mb=50