summaryrefslogtreecommitdiffstats
path: root/tests/ts/mount
diff options
context:
space:
mode:
authorKarel Zak2014-05-26 11:43:27 +0200
committerKarel Zak2014-05-26 11:43:27 +0200
commit4ea79d96903b488d2f03bce8febee73681303cd2 (patch)
treec6d689606cdc3b5289d83de59411899afc825778 /tests/ts/mount
parentumount: add info that --all-targets works with mtab symlink only (diff)
downloadkernel-qcow2-util-linux-4ea79d96903b488d2f03bce8febee73681303cd2.tar.gz
kernel-qcow2-util-linux-4ea79d96903b488d2f03bce8febee73681303cd2.tar.xz
kernel-qcow2-util-linux-4ea79d96903b488d2f03bce8febee73681303cd2.zip
tests: skip umount-alltargets on regular mtab
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts/mount')
-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