diff options
author | Karel Zak | 2014-05-26 11:43:27 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-26 11:43:27 +0200 |
commit | 4ea79d96903b488d2f03bce8febee73681303cd2 (patch) | |
tree | c6d689606cdc3b5289d83de59411899afc825778 /tests/ts/mount | |
parent | umount: add info that --all-targets works with mtab symlink only (diff) | |
download | kernel-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-x | tests/ts/mount/umount-alltargets | 2 |
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 |