public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] proc01: Add /proc/dirty/dirty_list to known_issues
@ 2021-03-08  3:34 Zhao Gongyi
  2021-05-12 15:31 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Zhao Gongyi @ 2021-03-08  3:34 UTC (permalink / raw)
  To: ltp

When we open the file /proc/dirty/dirty_list directly, it will return -1 and
set the errno to ENOMEM.

Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
 testcases/kernel/fs/proc/proc01.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/fs/proc/proc01.c b/testcases/kernel/fs/proc/proc01.c
index 96441d153..5ccac9c4d 100644
--- a/testcases/kernel/fs/proc/proc01.c
+++ b/testcases/kernel/fs/proc/proc01.c
@@ -85,6 +85,7 @@ static const struct mapping known_issues[] = {
 	{"open", "/proc/sal/init/data", EBUSY},
 	{"open", "/proc/sal/mca/data", EBUSY},
 	{"open", "/proc/fs/nfsd/pool_stats", ENODEV},
+	{"open", "/proc/dirty/dirty_list", ENOMEM},
 	{"read", "/proc/fs/nfsd/clients/*/ctl", EINVAL},
 	{"read", "/proc/acpi/event", EAGAIN},
 	{"read", "/proc/kmsg", EAGAIN},
--
2.17.1


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

end of thread, other threads:[~2021-05-12 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-08  3:34 [LTP] [PATCH] proc01: Add /proc/dirty/dirty_list to known_issues Zhao Gongyi
2021-05-12 15:31 ` Petr Vorel

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