From: Bernhard Voelker Date: Tue, 31 Jul 2012 06:24:13 +0000 (+0200) Subject: tests: cleanup ts_is_mounted X-Git-Tag: v2.22-rc2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6eb85b2372fb97efc29332b9a484c8d69af8874;p=thirdparty%2Futil-linux.git 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 --- 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