summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-05-01 15:37:50 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-05-01 15:40:04 +0200
commit9c7063ef893449742922a4bcbcbe6c38f191b8dc (patch)
treeb622c797fdcee346b38f7d1dd2ddbb4f148079f3
parent79844b9066e53d9618f6641d5cee9c7264fe01fd (diff)
downloadlvm2-9c7063ef893449742922a4bcbcbe6c38f191b8dc.tar.gz
tests: free -h is quite new option
Stay with -g and and ignore failure.
-rw-r--r--test/lib/inittest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh
index d5c80f413..98abae67a 100644
--- a/test/lib/inittest.sh
+++ b/test/lib/inittest.sh
@@ -78,7 +78,7 @@ echo "$TESTNAME" >TESTNAME
echo "Kernel is $(uname -a)"
# Report SELinux mode
echo "Selinux mode is $(getenforce 2>/dev/null || echo not installed)."
-free -h
+free -m || true
# Set vars from utils now that we have TESTDIR/PREFIX/...
prepare_test_vars