Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix broken std.file.rmdirRecurse() unittest

'ln' gave an error, because "/tmp" is already included in deleteme.
  • Loading branch information...
commit b630804e81e38ff2c725187f01ffb7603ee26060 1 parent 4204c32
@kyllingstad kyllingstad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  std/file.d
View
2  std/file.d
@@ -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));
}
Please sign in to comment.
Something went wrong with that request. Please try again.