public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] fs: exclude 'wakeup_count' from read_all_sys test.
@ 2018-08-03 15:20 Sandeep Patil
  2018-08-10 14:10 ` Richard Palethorpe
  0 siblings, 1 reply; 6+ messages in thread
From: Sandeep Patil @ 2018-08-03 15:20 UTC (permalink / raw)
  To: ltp

/sys/power/wakeup_count semantics state that the read() for the file
will block as long as there is a wakeup_event in progress. On most
systems, this will be non deterministic and will result in extremely
flaky test. Exclude the file from read_all_sys test for the same.

Signed-off-by: Sandeep Patil <sspatil@google.com>
---
 runtest/fs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtest/fs b/runtest/fs
index a66948a43..aca7e355f 100644
--- a/runtest/fs
+++ b/runtest/fs
@@ -71,7 +71,7 @@ proc01 proc01 -m 128
 
 read_all_dev read_all -d /dev -p -q -r 10
 read_all_proc read_all -d /proc -q -r 10
-read_all_sys read_all -d /sys -q -r 10
+read_all_sys read_all -d /sys -q -r 10 -e /sys/power/wakeup_count
 
 #Run the File System Race Condition Check tests as well
 fs_racer fs_racer.sh -t 5
-- 
2.18.0.597.ga71716f1ad-goog


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

end of thread, other threads:[~2018-08-20 16:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-03 15:20 [LTP] [PATCH] fs: exclude 'wakeup_count' from read_all_sys test Sandeep Patil
2018-08-10 14:10 ` Richard Palethorpe
2018-08-13 15:02   ` Sandeep Patil
2018-08-14  7:48     ` Richard Palethorpe
2018-08-14 15:16       ` Cyril Hrubis
2018-08-20 16:06       ` Sandeep Patil

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