tests: cleanup ts_is_mounted
PATCH 1/1 tests: cleanup ts_is_mounted
Quoted 2 lines
From
c30efb198ea1e6e62712de7e3e3369ffa2d296ffMon Sep 17 00:00:00 2001
From: Bernhard Voelker <[email protected]>
Date: Tue, 31 Jul 2012 08:24:13 +0200
Subject: [PATCH] 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 <[email protected]>
--- tests/functions.sh | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
tests/functions.sh +0 -3
@@ -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
Signature · 1 line
1.7.7
Quoted 2 lines · Bernhard Voelker
tests/functions.sh | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com