]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: skip umount-alltargets on regular mtab
authorKarel Zak <kzak@redhat.com>
Mon, 26 May 2014 09:43:27 +0000 (11:43 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 26 May 2014 09:43:27 +0000 (11:43 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/mount/umount-alltargets

index 995630aff26bdaf84439a38a9f326760f399591d..3b5498fc20634a70f8947ff64e42e91853e71ec8 100755 (executable)
@@ -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