Change location used for path tests
Jenkins seems to dislike non-Latin-1 characters inside the build tree on Linux, so use a location inside /tmp instead.
This commit is contained in:
parent
31ba9dfa70
commit
93226fc500
@ -73,9 +73,9 @@ SGPath::Permissions validateWrite(const SGPath&)
|
||||
|
||||
void test_path_dir()
|
||||
{
|
||||
SGPath p(simgear::Dir::current().path());
|
||||
p.append("path_dir");
|
||||
simgear::Dir(p).remove(true);
|
||||
simgear::Dir temp = simgear::Dir::tempDir("path_dir");
|
||||
temp.remove(true);
|
||||
SGPath p = temp.path();
|
||||
|
||||
VERIFY(p.isAbsolute());
|
||||
COMPARE(p.create_dir(0755), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user