summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 19:57:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 19:57:36 +0300
commit0665da9d5fe353069c418158fd9b6ecad75f0889 (patch)
tree5f3b931e7777385f5842a2265793340e817bbf18 /src/fs
parenta697dc7396f1a0cc654824a15d1a2d91a30df4ed (diff)
downloadmv-0665da9d5fe353069c418158fd9b6ecad75f0889.tar.gz
mv-0665da9d5fe353069c418158fd9b6ecad75f0889.tar.bz2
mv-0665da9d5fe353069c418158fd9b6ecad75f0889.tar.xz
mv-0665da9d5fe353069c418158fd9b6ecad75f0889.zip
Add another zip archive for future tests.
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);