From: Ari Sundholm <ari@tuxera.com>
To: fstests@vger.kernel.org
Subject: [PATCH] common/punch, generic/273: Minor things for busybox support.
Date: Mon, 8 Jun 2015 21:34:24 +0300 [thread overview]
Message-ID: <1433788464.28321.9.camel@ari-macbook> (raw)
From: Ari Sundholm <ari@tuxera.com>
These changes make it possible to run more of the tests on busybox.
Signed-off-by: Ari Sundholm <ari@tuxera.com>
---
common/punch | 4 ++--
tests/generic/273 | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/punch b/common/punch
index a75f4cf..7f268cd 100644
--- a/common/punch
+++ b/common/punch
@@ -203,7 +203,7 @@ _coalesce_extents()
_filter_fiemap()
{
- awk --posix '
+ awk '
$3 ~ /hole/ {
print $1, $2, $3;
next;
@@ -223,7 +223,7 @@ _filter_fiemap()
# it is an extent or a hole
_filter_hole_fiemap()
{
- awk --posix '
+ awk '
$3 ~ /hole/ {
print $1, $2, $3;
next;
diff --git a/tests/generic/273 b/tests/generic/273
index 1ceb6c4..f15fcf2 100755
--- a/tests/generic/273
+++ b/tests/generic/273
@@ -68,7 +68,7 @@ _file_create()
cd $SCRATCH_MNT/origin
- _disksize=`$DF_PROG --block-size=1 $SCRATCH_DEV | tail -1 | awk '{ print $5 }'`
+ _disksize=`$DF_PROG -B 1 $SCRATCH_DEV | tail -1 | awk '{ print $5 }'`
_disksize=$(($_disksize / 3))
_num=$(($_disksize / $count / $threads / 4096))
_count=$count
--
1.9.1
next reply other threads:[~2015-06-08 18:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-08 18:34 Ari Sundholm [this message]
2015-06-17 21:49 ` [PATCH] common/punch, generic/273: Minor things for busybox support Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1433788464.28321.9.camel@ari-macbook \
--to=ari@tuxera.com \
--cc=fstests@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox