diff options
author | Sven Gothel <[email protected]> | 2022-07-20 15:18:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-07-20 15:18:29 +0200 |
commit | 85a72b968667f270ed112b1afb059cd3edde8406 (patch) | |
tree | c07edf49106e2bb4bd50172de5c6ef7ca1c46d51 /test/test_fileutils.hpp | |
parent | 2a6e8d3130b993bc76a145337a5e4f1031882eeb (diff) |
test_fileutils: Add optional test for a vfat filesystem destination (C++, Java) w/ copy_options::ignore_symlink_errors
On a vfat target we have to:
- ignore symbolic links (if not followed), just drop them as they are not supported
- be generous on mtime granularity (drop nsec ..)
- don't compare permissions, fmode_t
- don't compare gid and assume files are using uid (true in this test)
Diffstat (limited to 'test/test_fileutils.hpp')
-rw-r--r-- | test/test_fileutils.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_fileutils.hpp b/test/test_fileutils.hpp index 6603fdf..eba2e2e 100644 --- a/test/test_fileutils.hpp +++ b/test/test_fileutils.hpp @@ -140,6 +140,8 @@ class TestFileUtilBase { const std::string project_root1 = "../../test_data"; // submodule location with jaulib directly hosted below main project const std::string project_root2 = "../../../jaulib/test_data"; - // external filesystem to test ... + // external filesystem source to test ... const std::string project_root_ext = "/mnt/ssd0/data/test_data"; + // external vfat filesystem destination to test ... + const std::string dest_fs_vfat = "/mnt/vfat"; }; |