diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/fs_event_local.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fs_event_local.c b/tests/fs_event_local.c index 89aa282..d5bb97c 100644 --- a/tests/fs_event_local.c +++ b/tests/fs_event_local.c @@ -26,11 +26,13 @@ s32 main(void) nn_file_create(&TEST_FILE_PATH); } - nn_fs_event_init(&fs, &TEST_FILE_PATH, NNWT_CLOSE_WRITE, fs_event_callback, NULL); + nn_fs_event_init(&fs, &TEST_FILE_PATH, NNWT_FS_CLOSE_WRITE, fs_event_callback, NULL); if (!nn_fs_event_start(&fs, &loop)) { return EXIT_FAILURE; } + al_printf("Do something like: \"echo 'yo' > test.txt\"\n"); + nn_event_loop_run(&loop); nn_common_close(); |