diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-27 19:49:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-27 20:00:41 +0300 |
commit | bf41330551a76ea426ace38dbc57c333ef5112cc (patch) | |
tree | ea543733e0ff5b664923ec90053b2c81f2d3def3 /src/fs/virtfsphys_unittest.cc | |
parent | 36c6674db35445d6c72f0f520b4abf9ef15b4da9 (diff) | |
download | mv-bf41330551a76ea426ace38dbc57c333ef5112cc.tar.gz mv-bf41330551a76ea426ace38dbc57c333ef5112cc.tar.bz2 mv-bf41330551a76ea426ace38dbc57c333ef5112cc.tar.xz mv-bf41330551a76ea426ace38dbc57c333ef5112cc.zip |
Add function for get home path.
Diffstat (limited to 'src/fs/virtfsphys_unittest.cc')
-rw-r--r-- | src/fs/virtfsphys_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/virtfsphys_unittest.cc b/src/fs/virtfsphys_unittest.cc index 93f86db64..79acaa434 100644 --- a/src/fs/virtfsphys_unittest.cc +++ b/src/fs/virtfsphys_unittest.cc @@ -20,6 +20,7 @@ #include "catch.hpp" +#include "fs/paths.h" #include "fs/virtfs.h" #include "fs/virtfsphys.h" #include "fs/virtfstools.h" @@ -52,6 +53,7 @@ TEST_CASE("VirtFsPhys getUserDir") { VirtFsPhys::initFuncs(); REQUIRE(VirtFsPhys::getUserDir() != nullptr); + REQUIRE(VirtFsPhys::getUserDir() == getHomePath()); } TEST_CASE("VirtFsPhys exists") |