diff mbox series

generic/642: fix SOAK_DURATION usage in generic/642

Message ID 20230804211748.GN11340@frogsfrogsfrogs (mailing list archive)
State New, archived
Headers show
Series generic/642: fix SOAK_DURATION usage in generic/642 | expand

Commit Message

Darrick J. Wong Aug. 4, 2023, 9:17 p.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

Misspelled variable name.  Yay bash.

Fixes: 3e85dd4fe4 ("misc: add duration for long soak tests")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
 tests/generic/642 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Zorro Lang Aug. 5, 2023, 9:52 a.m. UTC | #1
On Fri, Aug 04, 2023 at 02:17:48PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
> 
> Misspelled variable name.  Yay bash.
> 
> Fixes: 3e85dd4fe4 ("misc: add duration for long soak tests")
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> ---

Quick fix, will merge it in the release this week, Thanks!

Reviewed-by: Zorro Lang <zlang@redhat.com>

>  tests/generic/642 |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/generic/642 b/tests/generic/642
> index e6a475a8b5..4d0c41fd5d 100755
> --- a/tests/generic/642
> +++ b/tests/generic/642
> @@ -49,7 +49,7 @@ for verb in attr_remove removefattr; do
>  done
>  args+=('-f' "setfattr=20")
>  args+=('-f' "attr_set=60")	# sets larger xattrs
> -test -n "$DURATION" && args+=(--duration="$DURATION")
> +test -n "$SOAK_DURATION" && args+=(--duration="$SOAK_DURATION")
>  
>  $FSSTRESS_PROG "${args[@]}" $FSSTRESS_AVOID -d $SCRATCH_MNT -n $nr_ops -p $nr_cpus >> $seqres.full
>  
>
diff mbox series

Patch

diff --git a/tests/generic/642 b/tests/generic/642
index e6a475a8b5..4d0c41fd5d 100755
--- a/tests/generic/642
+++ b/tests/generic/642
@@ -49,7 +49,7 @@  for verb in attr_remove removefattr; do
 done
 args+=('-f' "setfattr=20")
 args+=('-f' "attr_set=60")	# sets larger xattrs
-test -n "$DURATION" && args+=(--duration="$DURATION")
+test -n "$SOAK_DURATION" && args+=(--duration="$SOAK_DURATION")
 
 $FSSTRESS_PROG "${args[@]}" $FSSTRESS_AVOID -d $SCRATCH_MNT -n $nr_ops -p $nr_cpus >> $seqres.full