Skip to contentSkip to conversation

xfstests: fix incorrect redirect in generic/232

PATCH New Dave Chinner 1 participant 1 message May 1, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: fix incorrect redirect in generic/232

From: Dave Chinner <[email protected]>

generic/232 attempts to direct output to tee, but instead of using a pipe it uses an append operator. Hence it leaves a file named "tee" in the root directory of the xfstests execution path. Just direct the output to the $seqres.full file rather than trying to tee it into the test output as well.

---
 tests/generic/232 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/232 +1 -1
index 2402c45..8ada8aa 100755
@@ -55,7 +55,7 @@ _fsstress()
 	count=2000
 	args=`_scale_fsstress_args -d $out -n $count -p 7`
 
-	echo "fsstress $args" >> tee -a $seqres.full
+	echo "fsstress $args" >> $seqres.full
 	if ! $FSSTRESS_PROG $args | tee -a $seqres.full | _filter_num
 	then
 		echo "    fsstress $args returned $?"
Signature · 6 lines
1.7.10.4

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs