Skip to contentSkip to conversation

master - tests: free -h is quite new option

PATCH Zdenek Kabelac 1 participant 1 message May 1, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9c7063ef893449742922a4bcbcbe6c38f191b8dc
Commit:        9c7063ef893449742922a4bcbcbe6c38f191b8dc
Parent:        79844b9066e53d9618f6641d5cee9c7264fe01fd
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri May 1 15:37:50 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri May 1 15:40:04 2015 +0200

tests: free -h is quite new option

Stay with -g and and ignore failure.

---
 test/lib/inittest.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/inittest.sh +1 -1
index d5c80f4..98abae6 100644
@@ -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