diff options
author | Karel Zak | 2015-04-14 11:26:54 +0200 |
---|---|---|
committer | Karel Zak | 2015-04-14 11:26:54 +0200 |
commit | 866372c699ab1bdc692ddbb6c27c91dd1e20b4b9 (patch) | |
tree | b09f3379f7b710cad210f5d51b96f9b18503cfb3 /tests/functions.sh | |
parent | fdisk: fix typo (diff) | |
download | kernel-qcow2-util-linux-866372c699ab1bdc692ddbb6c27c91dd1e20b4b9.tar.gz kernel-qcow2-util-linux-866372c699ab1bdc692ddbb6c27c91dd1e20b4b9.tar.xz kernel-qcow2-util-linux-866372c699ab1bdc692ddbb6c27c91dd1e20b4b9.zip |
tests: make libmount context tests sensitive to USE_LIBMOUNT_FORCE_MOUNTINFO
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functions.sh b/tests/functions.sh index 55b92738c..e74a11cb5 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -545,7 +545,7 @@ function ts_is_mounted { grep -q $DEV /proc/mounts && return 0 if [ "${DEV#/dev/loop/}" != "$DEV" ]; then - return grep -q "/dev/loop${DEV#/dev/loop/}" /proc/mounts + grep -q "/dev/loop${DEV#/dev/loop/}" /proc/mounts && return 0 fi return 1 } |