Name Date Size #Lines LOC

..--

.gitignoreH A D25-Apr-2025132 1312

MakefileH A D25-Apr-2025257 105

READMEH A D25-Apr-20251.2 KiB3936

inotify.hH A D25-Apr-20251.7 KiB6846

inotify01.cH A D25-Apr-20253.5 KiB173121

inotify02.cH A D25-Apr-20255.3 KiB230174

inotify03.cH A D25-Apr-20253.9 KiB179130

inotify04.cH A D25-Apr-20254.2 KiB180118

inotify05.cH A D25-Apr-20253.2 KiB160117

inotify06.cH A D25-Apr-20252.7 KiB13180

inotify07.cH A D25-Apr-20255 KiB197135

inotify08.cH A D25-Apr-20254.7 KiB191125

inotify09.cH A D25-Apr-20252.4 KiB11072

inotify10.cH A D25-Apr-20255.7 KiB223166

inotify11.cH A D25-Apr-20252.7 KiB13586

inotify12.cH A D25-Apr-20253.7 KiB170117

README

1This contains two tests for the inotify subsystem.
2
3The  inotify  API  provides  a mechanism for monitoring file system events. $
4Inotify can be used to monitor individual files, or to monitor directories. $
5When a directory is monitored, inotify will return events for the directory$
6itself, and for files inside  the directory.
7
8The tests are intended to do the following:
9test 1:
10	initialize inotify for the test file
11	generate sequence events:
12		operation			expected event
13		-----------------------------------------
14		chmod file			IN_ATTRIB
15		open read-only			IN_OPEN
16		read				IN_ACCESS
17		close				IN_CLOSE_NOWRITE
18		open read-write			IN_OPEN
19		write				IN_MODIFY
20		close				IN_CLOSE_WRITE
21	check that all events have been received
22test 2:
23	initialize inotify for the test directory
24	generate sequence events:
25		operate				expected event
26		-----------------------------------------
27		chmod				IN_ISDIR | IN_ATTRIB
28		creat file			IN_CREATE
29						IN_OPEN
30		close				IN_CLOSE_WRITE
31		rename file			IN_MOVED_FROM
32						IN_MOVED_TO
33		rename yourself			IN_MOVE_SELF
34		unlink file			IN_DELETE
35		rename yourself again
36		rename back			IN_MOVE_SELF
37	check that all events have been received and the last two successive
38	IN_MOVE_SELF events will be coalesced into a single one.
39