1.1 --- a/tests/dstest_file_readdir.cc Tue Aug 17 23:44:36 2021 +0200
1.2 +++ b/tests/dstest_file_readdir.cc Sat Aug 21 19:26:33 2021 +0200
1.3 @@ -68,6 +68,9 @@
1.4 char *filename = argv[1];
1.5 bool have_uid = (argc > 2) && strlen(argv[2]);
1.6 sys_uid_t uid = have_uid ? atoi(argv[2]) : 0;
1.7 +
1.8 + printf("Opening %s...\n", filename);
1.9 +
1.10 file_t *file = open_directory(filename, have_uid, uid);
1.11
1.12 if (file == NULL)
1.13 @@ -76,6 +79,8 @@
1.14 return 1;
1.15 }
1.16
1.17 + printf("Reading...\n");
1.18 +
1.19 struct dirent *dirent;
1.20
1.21 while ((dirent = client_readdir(file)) != NULL)