[PATCH 01/54] misc: fix minor testcase problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don't write debugfs headers to stdout...

Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
 tests/f_badcluster/script |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/tests/f_badcluster/script b/tests/f_badcluster/script
index 56b4b7f..ea9e488 100644
--- a/tests/f_badcluster/script
+++ b/tests/f_badcluster/script
@@ -8,7 +8,7 @@ if test -x $DEBUGFS_EXE; then
 	$FSCK -fy $TMPFILE 2>&1 | sed -f $cmd_dir/filter.sed >> $OUT
 	for i in a b c d e f g; do echo "stat /$i"; done > $TMPFILE.tmp
 	echo "quit" >> $TMPFILE.tmp
-	$DEBUGFS_EXE -f $TMPFILE.tmp $TMPFILE >> $OUT
+	$DEBUGFS_EXE -f $TMPFILE.tmp $TMPFILE 2>&1 | sed -f $cmd_dir/filter.sed >> $OUT
 	rm -f $TMPFILE.tmp
 
 	cmp -s $OUT $EXP

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux