make relative link test into a hope

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32696 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-03-24 05:40:57 +00:00
parent e1b6677bf8
commit 213d36b7d0

View file

@ -274,8 +274,10 @@ int main()
[fm createSymbolicLinkAtPath: tmpsrc pathContent: @"bar"];
[fm changeCurrentDirectoryPath: tmpdir];
testHopeful = YES;
PASS_EQUAL([@"foo" stringByResolvingSymlinksInPath], @"foo",
"foo->bar relative symlink not expanded by stringByResolvingSymlinksInPath")
testHopeful = NO;
[fm changeCurrentDirectoryPath: cwd];
[fm removeFileAtPath: tmpsrc handler: nil];