diff options
author | Bernhard Voelker | 2012-07-31 08:24:13 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-31 20:02:05 +0200 |
commit | a6eb85b2372fb97efc29332b9a484c8d69af8874 (patch) | |
tree | 3de6119e3b243949280b7e8ff273537738eb5b59 /tests/functions.sh | |
parent | tests: make blkid/md-raid1-part more robust (diff) | |
download | kernel-qcow2-util-linux-a6eb85b2372fb97efc29332b9a484c8d69af8874.tar.gz kernel-qcow2-util-linux-a6eb85b2372fb97efc29332b9a484c8d69af8874.tar.xz kernel-qcow2-util-linux-a6eb85b2372fb97efc29332b9a484c8d69af8874.zip |
tests: cleanup ts_is_mounted
* tests/functions.sh (ts_is_mounted): Remove check for canonicalization
failure again, because it is now done by ts_canonicalize.
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/functions.sh b/tests/functions.sh index 0613505fe..9716534a2 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -394,9 +394,6 @@ function ts_device_has_uuid { function ts_is_mounted { local DEV=$(ts_canonicalize "$1") - if [ ".$DEV" = '.' ]; then - DEV=$1 - fi grep -q $DEV /proc/mounts && return 0 |