diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_fs_mkdirs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_fs_mkdirs.c b/tests/test_fs_mkdirs.c index 85ebfad..5229769 100644 --- a/tests/test_fs_mkdirs.c +++ b/tests/test_fs_mkdirs.c @@ -35,6 +35,9 @@ int main(int argc, char *argv[]) { myassert(present == 0, testFmt, result, testCase[i].truthValue.signed_integer); rmdirs(path); + + present = access(path, X_OK); + myassert(present != 0, testFmt, result, testCase[i].truthValue.signed_integer); } return 0; }
\ No newline at end of file |