aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-04-09 15:42:42 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-04-09 15:42:48 -0400
commit4257dafd1f3b0bcb6325519287481976c960be49 (patch)
treeb4c548e019aadf603cb9d68e15fccd8119a14253 /tests
parentc68875da963b896f3155eacc14db145382e2eab4 (diff)
downloadspmc-4257dafd1f3b0bcb6325519287481976c960be49.tar.gz
Check if directories were removed
Diffstat (limited to 'tests')
-rw-r--r--tests/test_fs_mkdirs.c3
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