1 #include "../filetools.h"
6 using namespace lyx::support;
11 docstring const _(string const & s) { return from_ascii(s); }
14 void test_normalizePath()
16 cout << normalizePath("foo/../bar") << endl;
17 cout << normalizePath("foo/./bar") << endl;
18 cout << normalizePath("./foo/../bar") << endl;
19 cout << normalizePath("./foo/./bar") << endl;
20 cout << normalizePath("/foo/../bar") << endl;
21 cout << normalizePath("/foo/./bar") << endl;
22 cout << normalizePath("foo//bar") << endl;
23 cout << normalizePath("./foo//bar") << endl;
24 cout << normalizePath("/foo//bar") << endl;