* [PATCH] tests: cleanup ts_is_mounted
@ 2012-07-31 6:26 Bernhard Voelker
2012-07-31 18:03 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Voelker @ 2012-07-31 6:26 UTC (permalink / raw)
To: util-linux@vger.kernel.org
>From c30efb198ea1e6e62712de7e3e3369ffa2d296ff Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail@bernhard-voelker.de>
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 <mail@bernhard-voelker.de>
---
tests/functions.sh | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tests/functions.sh b/tests/functions.sh
index 0613505..9716534 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
--
1.7.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tests: cleanup ts_is_mounted
2012-07-31 6:26 [PATCH] tests: cleanup ts_is_mounted Bernhard Voelker
@ 2012-07-31 18:03 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-07-31 18:03 UTC (permalink / raw)
To: Bernhard Voelker; +Cc: util-linux@vger.kernel.org
On Tue, Jul 31, 2012 at 08:26:35AM +0200, Bernhard Voelker wrote:
> tests/functions.sh | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
Applied, thanks.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-31 18:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31 6:26 [PATCH] tests: cleanup ts_is_mounted Bernhard Voelker
2012-07-31 18:03 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).