diff options
author | Chris Wilson <chris+github@qwirx.com> | 2015-12-26 23:53:35 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2015-12-26 23:53:35 +0000 |
commit | 2e7371e4ed98d6a5e0a7c0845cf9f50a98f055a7 (patch) | |
tree | 52afd8d250a83d5a455e175b0badedbd5ebfa239 | |
parent | 2cf984e9509ee18b4d0a3b0e39c7774a5eae376e (diff) |
Exclude one more symlink from untarring on Windows with 7za.
-rw-r--r-- | test/bbackupd/testbbackupd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bbackupd/testbbackupd.cpp b/test/bbackupd/testbbackupd.cpp index 0d055193..dd50b862 100644 --- a/test/bbackupd/testbbackupd.cpp +++ b/test/bbackupd/testbbackupd.cpp @@ -339,7 +339,7 @@ bool unpack_files(const std::string& archive_file, TEST_LINE_OR(::system(cmd.c_str()) == 0, cmd, return false); cmd = std::string("7za x testfiles/") + archive_file + ".tar -aos " - "-o" + destination_dir + " -x!.\\TestDir1\\symlink? >nul:"; + "-o" + destination_dir + " -x!.\\TestDir1\\symlink? -x!.\\test2 >nul:"; #elif defined WIN32 // Cygwin + MinGW, we can use real tar. std::string cmd("tar xz"); cmd += tar_options + " -f testfiles/" + archive_file + ".tgz " + |