From dcccba655fe848564e961b3f285ce3a82d3ac73a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 7 Mar 2020 14:07:28 +0300 Subject: Add more support for symlinks on Windows See mksymlink() for details of the symlinks support on Windows. --- tests/path-entry/driver.cxx | 212 +++++++++++++++++++++++++++++++++++++++----- tests/path-entry/testscript | 175 +++++++++++++++++++++++++++++++++--- 2 files changed, 353 insertions(+), 34 deletions(-) (limited to 'tests/path-entry') diff --git a/tests/path-entry/driver.cxx b/tests/path-entry/driver.cxx index d48bf49..51ac04d 100644 --- a/tests/path-entry/driver.cxx +++ b/tests/path-entry/driver.cxx @@ -4,7 +4,9 @@ #include #ifndef __cpp_lib_modules_ts +#include #include +#include // invalid_argument #include #endif @@ -15,48 +17,210 @@ import std.core; import std.io; #endif +import butl.path; import butl.utility; // operator<<(ostream, exception) +import butl.optional; +import butl.timestamp; import butl.filesystem; #else +#include #include +#include +#include #include #endif using namespace std; using namespace butl; -// Usage: argv[0] +// Usage: argv[0] [-l] [-t] [-p ] [-m