summaryrefslogtreecommitdiff
path: root/tests/inotify.c
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2018-08-19 09:57:04 +0200
committerDmitry V. Levin <ldv@altlinux.org>2018-08-27 23:41:41 +0000
commit9aa1efde5818008f9110bc6a282809a7799c9d91 (patch)
tree742b9377dae1ab6f66f6fb880fa1b070883014e5 /tests/inotify.c
parent44e21ae30d0240bf719ca9cf1e0d383aab8ab6fe (diff)
downloadstrace-9aa1efde5818008f9110bc6a282809a7799c9d91.tar.gz
xlat: add IN_MASK_CREATE to inotify_flags.in
* xlat/inotify_flags.in (IN_MASK_CREATE): New constant, introduced by Linux commit v4.19-rc1~115^2. * tests/inotify.c (main): Update expected output.
Diffstat (limited to 'tests/inotify.c')
-rw-r--r--tests/inotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/inotify.c b/tests/inotify.c
index 925d69ffe..595f09a6f 100644
--- a/tests/inotify.c
+++ b/tests/inotify.c
@@ -52,8 +52,8 @@ main(void)
static const char *bogus_mask_str = "IN_ACCESS|IN_ATTRIB|"
"IN_CLOSE_WRITE|IN_OPEN|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|"
"IN_MOVE_SELF|IN_Q_OVERFLOW|IN_IGNORED|IN_ONLYDIR|"
- "IN_DONT_FOLLOW|IN_EXCL_UNLINK|IN_MASK_ADD|IN_ISDIR|IN_ONESHOT|"
- "0x18ff1000";
+ "IN_DONT_FOLLOW|IN_EXCL_UNLINK|IN_MASK_CREATE|IN_MASK_ADD|"
+ "IN_ISDIR|IN_ONESHOT|0x8ff1000";
long rc;
char *bogus_path = tail_memdup(bogus_path_str.path,