]> git.lyx.org Git - lyx.git/blob - src/support/tests/check_filetools.cpp
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / src / support / tests / check_filetools.cpp
1 #include <config.h>
2
3 #include "../filetools.h"
4 #include "../FileName.h"
5
6 #include <iostream>
7
8
9 using namespace lyx::support;
10
11 using namespace std;
12
13 void test_normalizePath()
14 {
15         cout << FileName("/foo/../bar").absFileName() << endl;
16         cout << FileName("/foo/./bar").absFileName() << endl;
17         cout << FileName("/foo//bar").absFileName() << endl;
18 }
19
20 int main()
21 {
22         test_normalizePath();
23 }