mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
e8f819f85b
commit
ab47d8188e
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,3 @@
|
||||
./bar/
|
||||
./foo/bar/
|
||||
./bar/
|
||||
./foo/bar/
|
||||
/bar/
|
||||
/foo/bar/
|
||||
./foo/bar/
|
||||
./foo/bar/
|
||||
/foo/bar/
|
||||
/bar
|
||||
/foo/bar
|
||||
/foo/bar
|
||||
|
Loading…
Reference in New Issue
Block a user