This commit is contained in:
Sebastian Messmer 2016-03-24 07:55:37 +00:00
parent 02f3fa2074
commit 99aa86720c
4 changed files with 15 additions and 8 deletions

View File

@ -273,13 +273,8 @@ REGISTER_TYPED_TEST_CASE_P(FsppDirTest,
CreateDir_AlreadyExisting
);
//TODO stat
//TODO access
//TODO rename
//TODO utimens
//TODO rmdir (also test that deleting a non-empty dir returns ENOTEMPTY, because otherwise there might not be any unlink syscalls for the entries issued)
//TODO chmod
//TODO chown
//TODO mkdir with uid/gid
//TODO createAndOpenFile: all stat values correctly set (1. in the OpenFile instance returned from createAndOpenFile and 2. on an lstat on the file object afterwards)
//TODO Test all operations do (or don't) affect dir timestamps correctly

View File

@ -269,9 +269,7 @@ REGISTER_TYPED_TEST_CASE_P(FsppFileTest,
);
//TODO access
//TODO rename
//TODO unlink
//TODO Test all operations do (or don't) affect file timestamps correctly (including rename, which shouldn't modify access/modify time, but inode change time)
//TODO (here and in other fstest operations): Test error paths
#endif

View File

@ -241,3 +241,16 @@ REGISTER_NODE_TEST_CASES(
);
#endif
//TODO Test for rename (success AND error cases) that stat values stay unchanged (i.e. mode, uid, gid, access times, ...)
//TODO Test for rename (success AND error cases) that contents stay unchanged (i.e. file contents, directory children, symlink target)
//TODO (here and in other fstest operations): Test error paths
//TODO Move other applicable test cases from FsppFileTest to here (e.g. utimens, chmod, ...)
//TODO stat
//TODO access
//TODO utimens
//TODO chmod
//TODO chown
//TODO Test all operations do (or don't) affect dir timestamps correctly

View File

@ -51,5 +51,6 @@ REGISTER_TYPED_TEST_CASE_P(FsppSymlinkTest,
);
//TODO Other tests?
//TODO Test all operations do (or don't) affect dir timestamps correctly
#endif