summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/physfs/virtfsphys_unittest.cc8
-rw-r--r--src/fs/virtfs/virtfsdir_unittest.cc8
-rw-r--r--src/fs/virtfs_unittest.cc8
3 files changed, 12 insertions, 12 deletions
diff --git a/src/fs/physfs/virtfsphys_unittest.cc b/src/fs/physfs/virtfsphys_unittest.cc
index 7eeb01143..f35dedc7f 100644
--- a/src/fs/physfs/virtfsphys_unittest.cc
+++ b/src/fs/physfs/virtfsphys_unittest.cc
@@ -145,8 +145,8 @@ TEST_CASE("VirtFsPhys enumerateFiles1")
VirtList *list = nullptr;
- const int cnt1 = VirtFsPhys::exists("test/test2.txt") ? 27 : 26;
- const int cnt2 = 27;
+ const int cnt1 = VirtFsPhys::exists("test/test2.txt") ? 28 : 27;
+ const int cnt2 = 28;
VirtFsPhys::permitLinks(false);
list = VirtFsPhys::enumerateFiles("test");
@@ -475,8 +475,8 @@ TEST_CASE("VirtFsPhys permitLinks")
VirtFsPhys::addDirToSearchPath("data", Append_false);
VirtFsPhys::addDirToSearchPath("../data", Append_false);
- const int cnt1 = VirtFsPhys::exists("test/test2.txt") ? 25 : 24;
- const int cnt2 = 25;
+ const int cnt1 = VirtFsPhys::exists("test/test2.txt") ? 26 : 25;
+ const int cnt2 = 26;
StringVect list;
VirtFsPhys::permitLinks(false);
diff --git a/src/fs/virtfs/virtfsdir_unittest.cc b/src/fs/virtfs/virtfsdir_unittest.cc
index 4923c105c..f195b10bd 100644
--- a/src/fs/virtfs/virtfsdir_unittest.cc
+++ b/src/fs/virtfs/virtfsdir_unittest.cc
@@ -425,8 +425,8 @@ TEST_CASE("VirtFsDir enumerateFiles1")
VirtList *list = nullptr;
- const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 27 : 26;
- const int cnt2 = 27;
+ const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 28 : 27;
+ const int cnt2 = 28;
VirtFsDir::permitLinks(false);
list = VirtFsDir::enumerateFiles("test");
@@ -662,8 +662,8 @@ TEST_CASE("VirtFsDir permitLinks")
Append_false,
SkipError_false);
- const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 25 : 24;
- const int cnt2 = 25;
+ const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 26 : 25;
+ const int cnt2 = 26;
StringVect list;
VirtFsDir::permitLinks(false);
diff --git a/src/fs/virtfs_unittest.cc b/src/fs/virtfs_unittest.cc
index 2e9c1c31d..057f641d5 100644
--- a/src/fs/virtfs_unittest.cc
+++ b/src/fs/virtfs_unittest.cc
@@ -214,8 +214,8 @@ TEST_CASE("VirtFs enumerateFiles1")
VirtList *list = nullptr;
- const int cnt1 = VirtFs::exists("test/test2.txt") ? 27 : 26;
- const int cnt2 = 27;
+ const int cnt1 = VirtFs::exists("test/test2.txt") ? 28 : 27;
+ const int cnt2 = 28;
VirtFs::permitLinks(false);
list = VirtFs::enumerateFiles("test");
@@ -708,8 +708,8 @@ TEST_CASE("VirtFs permitLinks")
VirtFs::addDirToSearchPath("data", Append_false);
VirtFs::addDirToSearchPath("../data", Append_false);
- const int cnt1 = VirtFs::exists("test/test2.txt") ? 25 : 24;
- const int cnt2 = 25;
+ const int cnt1 = VirtFs::exists("test/test2.txt") ? 26 : 25;
+ const int cnt2 = 26;
StringVect list;
VirtFs::permitLinks(false);