1.1 --- a/tests/dstest_file_monitor.cc Thu Feb 16 23:36:52 2023 +0100
1.2 +++ b/tests/dstest_file_monitor.cc Fri Feb 17 18:39:43 2023 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Test directory monitoring operations.
1.6 *
1.7 - * Copyright (C) 2020, 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2020, 2021, 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -87,7 +87,7 @@
1.13 return;
1.14 }
1.15
1.16 - printf("Notified with conditions:%s\n", directory->notifications & NOTIFY_FILE_OPENED ? " file opened" : "");
1.17 + printf("Notified with conditions:%s\n", file_notifications(directory) & NOTIFY_FILE_OPENED ? " file opened" : "");
1.18 }
1.19
1.20 printf("Notified for all expected files: %s\n", expected ? "False" : "True");