d6d11d08678aac1ed2c370ea8e42e5f45aea07be |
|
09-Mar-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Introduce tst_parse_opts() The pattern that was used in all testcases is: const char *msg; msg = parse_opts(...); if (msg) tst_brkm(TBROK, NULL, "OPTION PARSING ERROR - %s", msg); This change simplifies the steps to just calling: tst_parse_opts(...); Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
aabb8340f63ed31afe995fd97795e542dc68b93c |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Include usctest.h in test.h Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
63564ce7e26bee531cbe0d03303aa8ba6311ff41 |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
testcsaes: Initialize TST_TOTAL statically. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
605fa3362fd7cef0baa2131be32cf44661783d3e |
|
04-Feb-2015 |
Cyril Hrubis <chrubis@suse.cz> |
Get rid of TEST_CLEANUP Special thanks to Coccinelle for making this easy job. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
04f2177b65a3c10df5964180d1caf807ec531b72 |
|
09-Dec-2014 |
Cyril Hrubis <chrubis@suse.cz> |
inotify: Fix cleanup on ENOSYS If inotify_init() has failed with ENOSYS we should only cleanup what has been initialized (mostly remove temp directory). Signed-off-by: Cyril Hrubis <chrubis@suse.cz> Reported-by: Troy-lee <798528972@qq.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
d1e94ff98dfd1381fa4c66d58e87866f99b6b72d |
|
11-Sep-2014 |
Andrey Vagin <avagin@parallels.com> |
inotify: print event->name accoding with event->len v2: event_set[test_num].name is a null terminated string Signed-off-by: Andrey Vagin <avagin@parallels.com> Reviewed-by: Jan Stancek <jstancek@redhat.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
6550b7a0c1fc03f6d0764ccaf0bca5813815580e |
|
10-Sep-2014 |
Andrey Vagin <avagin@openvz.org> |
inotify: fix warnings inotify04.c:200:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len == -1) ^ inotify04.c:206:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i < len) { inotify02.c:202:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] && event_set[TST_TOTAL - 1].mask == ^ inotify02.c:223:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } else if ((event_set[test_num].mask == event->mask) Signed-off-by: Andrey Vagin <avagin@openvz.org> Reviewed-by: Jan Stancek <jstancek@redhat.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
0b9589f3f9c0345b29cfcf7da5a1253c708303eb |
|
27-May-2014 |
Cyril Hrubis <chrubis@suse.cz> |
testcases: Constify char *msg variable. The parse_opts() now returns const char * instead of char * this commit fixes all warnings caused by the change. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
387cd1525711d69700c7788abcf19f73bebf939c |
|
16-Jul-2013 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
inotify04: add RHEL5 extra kernel version check Since kernel 2.6.18-132.el5, inotify start to send IN_ATTRIB event on link count changes, so we check that kernel version on RHEL5. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
d59a659cd639ca2780b00049d102acd2a783d585 |
|
07-Mar-2013 |
Caspar Zhang <caspar@casparzhang.com> |
s/Tst_count/tst_count/ to avoid CamelCase when using latest checkpatch.pl, CamelCase variables are not encouraged, this patch does a batch update to replace all var `Tst_count` with `tst_count`. Signed-off-by: Caspar Zhang <caspar@casparzhang.com> Acked-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
354ebb48db8e66a853a58379a4808d5dcd1ceac3 |
|
07-Dec-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
cleanup code indent Cleanup the code indent using: find . -name *.c -exec Lindent {} \; It's really a big change, but can fix almost all of the indent problem in C code, although we can't ensure all of the changes are right, but the error changes are really few. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
fed9641096e27f79a0f2d9adfe9839dd8d11dc0f |
|
24-Oct-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
Fix FSF address find . -type f -exec sed -i 's/the Free Software Foundation, Inc., 59/the Free Software Foundation, Inc.,/g;s/Temple Place - Suite 330, Boston MA 02111-1307, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
4823a63ec7b728292e4d45b7a191246e7e54f323 |
|
20-May-2012 |
Garrett Cooper <yanegomi@gmail.com> |
Add a functional test for the IN_DELETE_SELF event This tests that IN_DELETE_SELF functions for both files and directories by creating a temporary file and directory, ensuring the inotify(7) events are relayed properly, watchpoints are removed, etc. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|
3bf3cb1cd688d60a3f4da0313d563fb10f6ed0ed |
|
20-May-2012 |
Garrett Cooper <yanegomi@gmail.com> |
Clean up inotify(7) wrappers As a side-effect this also fixes the return code passed back by the wrappers as the value should be an integer, not longs [this fixes compile errors on platforms where sizeof(int) != sizeof(long)]. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/syscalls/inotify/inotify04.c
|