* [PATCH] common/punch, generic/273: Minor things for busybox support.
@ 2015-06-08 18:34 Ari Sundholm
2015-06-17 21:49 ` Dave Chinner
0 siblings, 1 reply; 2+ messages in thread
From: Ari Sundholm @ 2015-06-08 18:34 UTC (permalink / raw)
To: fstests
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] common/punch, generic/273: Minor things for busybox support.
2015-06-08 18:34 [PATCH] common/punch, generic/273: Minor things for busybox support Ari Sundholm
@ 2015-06-17 21:49 ` Dave Chinner
0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2015-06-17 21:49 UTC (permalink / raw)
To: Ari Sundholm; +Cc: fstests
On Mon, Jun 08, 2015 at 09:34:24PM +0300, Ari Sundholm wrote:
> 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 '
Should be using $AWK_PROG.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-17 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08 18:34 [PATCH] common/punch, generic/273: Minor things for busybox support Ari Sundholm
2015-06-17 21:49 ` Dave Chinner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox