public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs/083: disable dmesg check
@ 2016-01-29 11:54 Guangwen Feng
  2016-01-31  3:05 ` Darrick J. Wong
  0 siblings, 1 reply; 10+ messages in thread
From: Guangwen Feng @ 2016-01-29 11:54 UTC (permalink / raw)
  To: fstests; +Cc: Guangwen Feng

This test fuzzes the metadata and accesses the corrupted fs later,
which always produces error info in dmesg and causes test fail,
so fix this.

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
---
 tests/xfs/083 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/xfs/083 b/tests/xfs/083
index 8e14e88..558b964 100755
--- a/tests/xfs/083
+++ b/tests/xfs/083
@@ -102,6 +102,11 @@ scratch_repair() {
 }
 
 rm -f $seqres.full
+
+# We will access the corrupted fs later, which always produces error
+# info in dmesg. We do not want the test to fail because of this.
+_disable_dmesg_check
+
 echo "See interesting results in $seqres.full" | sed -e "s,$RESULT_DIR,RESULT_DIR,g"
 SRCDIR=`pwd`
 test -z "${FUZZ_ARGS}" && FUZZ_ARGS="-3 -n 32"
-- 
1.8.4.2




^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [PATCH] xfs/083: disable dmesg check
@ 2016-07-12  5:41 Xiao Yang
  2016-07-13  4:25 ` Eryu Guan
  0 siblings, 1 reply; 10+ messages in thread
From: Xiao Yang @ 2016-07-12  5:41 UTC (permalink / raw)
  To: fstests; +Cc: Xiao Yang

xfs/083 will corrupt the fs intentionally, there will be WARNINGs
in dmesg as expected, so here disable dmesg check.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 tests/xfs/083 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/xfs/083 b/tests/xfs/083
index d897754..040f3b6 100755
--- a/tests/xfs/083
+++ b/tests/xfs/083
@@ -102,6 +102,10 @@ scratch_repair() {
 }
 
 rm -f $seqres.full
+# This test will corrupt fs intentionally, so there will be WARNINGs
+# in dmesg as expected
+_disable_dmesg_check
+
 echo "See interesting results in $seqres.full" | sed -e "s,$RESULT_DIR,RESULT_DIR,g"
 SRCDIR=`pwd`
 test -z "${FUZZ_ARGS}" && FUZZ_ARGS="-3 -n 32"
-- 
1.8.3.1




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

end of thread, other threads:[~2016-07-19  2:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 11:54 [PATCH] xfs/083: disable dmesg check Guangwen Feng
2016-01-31  3:05 ` Darrick J. Wong
     [not found]   ` <56CED40B.2020304@cn.fujitsu.com>
2016-03-22  1:49     ` Xiaoguang Wang
  -- strict thread matches above, loose matches on Subject: below --
2016-07-12  5:41 Xiao Yang
2016-07-13  4:25 ` Eryu Guan
2016-07-13  5:11   ` Darrick J. Wong
2016-07-13  8:02     ` Xiao Yang
2016-07-14  0:57     ` Xiao Yang
2016-07-14  7:16     ` Guangwen Feng
2016-07-19  2:45   ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox