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:
Richard Frith-MacDonald 2011-03-24 05:40:57 +00:00
parent dfd42af94f
commit 35ac5a084f

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];