Use -P for df to fix it
-P, --portability
use the POSIX output format
Merge of master-melb:xfs-cmds:31162a by kenmcd.
fix df for long /dev paths
_scratch_mount
# Do we have enough space on disk?
-FREE_BLOCKS=`df -kl $SCRATCH_MNT | grep -v Filesystem | awk '{print $4}'`
+FREE_BLOCKS=`df -klP $SCRATCH_MNT | grep -v Filesystem | awk '{print $4}'`
[ $FREE_BLOCKS -lt 10485760 ] && _notrun "This test requires at least 10GB of \
$SCRATCH_DEV to run"