From a6eb85b2372fb97efc29332b9a484c8d69af8874 Mon Sep 17 00:00:00 2001 From: Bernhard Voelker 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 --- tests/functions.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/functions.sh b/tests/functions.sh index 0613505fe2..9716534a25 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 -- 2.47.3