Permalink
Browse files

Fix broken std.file.rmdirRecurse() unittest

'ln' gave an error, because "/tmp" is already included in deleteme.
  • Loading branch information...
1 parent 4204c32 commit b630804e81e38ff2c725187f01ffb7603ee26060 @kyllingstad kyllingstad committed May 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 std/file.d
View
@@ -2476,7 +2476,7 @@ version(Posix) unittest
d = deleteme~"/a/b/c/d/e/f/g";
mkdirRecurse(d);
- std.process.system("ln -sf "~deleteme~"/a/b/c /tmp/"~deleteme~"/link");
+ std.process.system("ln -sf "~deleteme~"/a/b/c "~deleteme~"/link");
rmdirRecurse(deleteme);
enforce(!exists(deleteme));
}

0 comments on commit b630804

Please sign in to comment.