summaryrefslogtreecommitdiff
path: root/src/unittests/fs/virtfs/virtfs.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-02 03:48:14 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-02 03:48:14 +0300
commitd7f491da52e985ea50464804d342d9d45ae407f7 (patch)
treeab3c2fe76047e0fc966f24bf0de8ac159cb64b62 /src/unittests/fs/virtfs/virtfs.cc
parent359c97f1bdb7ce773c3a7cf9671ece7113685c76 (diff)
downloadmv-d7f491da52e985ea50464804d342d9d45ae407f7.tar.gz
mv-d7f491da52e985ea50464804d342d9d45ae407f7.tar.bz2
mv-d7f491da52e985ea50464804d342d9d45ae407f7.tar.xz
mv-d7f491da52e985ea50464804d342d9d45ae407f7.zip
Add unit tests for itemxmlutils.
Diffstat (limited to 'src/unittests/fs/virtfs/virtfs.cc')
-rw-r--r--src/unittests/fs/virtfs/virtfs.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/unittests/fs/virtfs/virtfs.cc b/src/unittests/fs/virtfs/virtfs.cc
index d316b4ac5..cb318963b 100644
--- a/src/unittests/fs/virtfs/virtfs.cc
+++ b/src/unittests/fs/virtfs/virtfs.cc
@@ -256,8 +256,8 @@ TEST_CASE("VirtFs enumerateFiles1", "")
VirtFs::List *list = nullptr;
- const int cnt1 = VirtFs::exists("test/test2.txt") ? 29 : 28;
- const int cnt2 = 29;
+ const int cnt1 = VirtFs::exists("test/test2.txt") ? 30 : 29;
+ const int cnt2 = 30;
VirtFs::permitLinks(false);
list = VirtFs::enumerateFiles("test");
@@ -744,8 +744,8 @@ TEST_CASE("VirtFs permitLinks1", "")
VirtFs::mountDirSilent("data", Append_false);
VirtFs::mountDirSilent("../data", Append_false);
- const int cnt1 = VirtFs::exists("test/test2.txt") ? 26 : 25;
- const int cnt2 = 26;
+ const int cnt1 = VirtFs::exists("test/test2.txt") ? 27 : 26;
+ const int cnt2 = 27;
StringVect list;
VirtFs::permitLinks(false);
@@ -779,8 +779,8 @@ TEST_CASE("VirtFs permitLinks2", "")
"test",
Append_false);
- const int cnt1 = VirtFs::exists("test2.txt") ? 26 : 25;
- const int cnt2 = 26;
+ const int cnt1 = VirtFs::exists("test2.txt") ? 27 : 26;
+ const int cnt2 = 27;
StringVect list;
VirtFs::permitLinks(false);