Mercurial > hg > orthanc
diff UnitTests/main.cpp @ 429:09b3c6265a94
unit test for fedora 18 problem
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 May 2013 15:13:01 +0200 |
parents | d2c69150a979 |
children | f746592d8301 |
line wrap: on
line diff
--- a/UnitTests/main.cpp Wed May 08 13:06:04 2013 +0200 +++ b/UnitTests/main.cpp Wed May 08 15:13:01 2013 +0200 @@ -335,6 +335,14 @@ } +#if defined(__linux) +TEST(OrthancInitialization, AbsoluteDirectory) +{ + ASSERT_EQ("/tmp/coucou", InterpretRelativePath("/tmp", "coucou")); +} +#endif + + int main(int argc, char **argv) { // Initialize Google's logging library.