make check in src/support: only absolute path can be reasonably tested now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24803 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-05-16 14:54:35 +00:00
parent e8f819f85b
commit ab47d8188e
2 changed files with 3 additions and 15 deletions

View File

@ -14,14 +14,8 @@ namespace lyx {
void test_normalizePath()
{
cout << FileName("foo/../bar").absFilename() << endl;
cout << FileName("foo/./bar").absFilename() << endl;
cout << FileName("./foo/../bar").absFilename() << endl;
cout << FileName("./foo/./bar").absFilename() << endl;
cout << FileName("/foo/../bar").absFilename() << endl;
cout << FileName("/foo/./bar").absFilename() << endl;
cout << FileName("foo//bar").absFilename() << endl;
cout << FileName("./foo//bar").absFilename() << endl;
cout << FileName("/foo//bar").absFilename() << endl;
}

View File

@ -1,9 +1,3 @@
./bar/
./foo/bar/
./bar/
./foo/bar/
/bar/
/foo/bar/
./foo/bar/
./foo/bar/
/foo/bar/
/bar
/foo/bar
/foo/bar