mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: use portable df output
For awk parsing more 'predictable' format of output line is needed.
This commit is contained in:
parent
a15b796146
commit
d9f9ce1268
@ -125,7 +125,7 @@ fi
|
||||
echo "$TESTNAME" >TESTNAME
|
||||
|
||||
# Require 50M of free space in testdir
|
||||
test $(df -k . | awk '/\// {print $4}') -gt 51200 ||
|
||||
test $(df -k -P . | awk '/\// {print $4}') -gt 51200 ||
|
||||
die "Testing requires more then 50M of free space in directory $TESTDIR!\n$(df -H)"
|
||||
|
||||
echo "Kernel is $(uname -a)"
|
||||
|
Loading…
Reference in New Issue
Block a user