All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic/076: fixed incorrect fsstress parameters
@ 2015-04-02 15:56 Omer Zilberberg
  2015-04-02 21:05 ` Filipe David Manana
  0 siblings, 1 reply; 6+ messages in thread
From: Omer Zilberberg @ 2015-04-02 15:56 UTC (permalink / raw)
  To: fstests; +Cc: Omer Zilberberg

Test was not run because directory parameter was omitted.
Also return value was not tested, so this problem was not caught.

Signed-off-by: Omer Zilberberg <omzg@plexistor.com>
---
 tests/generic/076 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/generic/076 b/tests/generic/076
index aa0aae0..3e1aa1a 100755
--- a/tests/generic/076
+++ b/tests/generic/076
@@ -74,9 +74,11 @@ echo "*** test concurrent block/fs access"
 cat $SCRATCH_DEV >/dev/null &
 pid=$!
 
-FSSTRESS_ARGS=`_scale_fsstress_args -p 2 -n 2000 $FSSTRESS_AVOID`
+FSSTRESS_ARGS=`_scale_fsstress_args -d $SCRATCH_MNT -p 2 -n 2000 $FSSTRESS_AVOID`
 echo "run fsstress with args: $FSSTRESS_ARGS" >>$seqres.full
 $FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full
+rc=$?
+[ $rc != 0 ] && echo "fsstress returned $rc - see $seqres.full"
 _lets_get_pidst
 
 echo "*** done"
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-13  5:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 15:56 [PATCH] generic/076: fixed incorrect fsstress parameters Omer Zilberberg
2015-04-02 21:05 ` Filipe David Manana
2015-04-07  2:29   ` Dave Chinner
2015-04-07  6:32     ` Omer Zilberberg
2015-04-13  5:16       ` Dave Chinner
2015-04-07  9:27     ` Filipe David Manana

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.