Skip to content

Commit

Permalink
temporary: just checking
Browse files Browse the repository at this point in the history
what's going on on windows?
  • Loading branch information
ThomasWaldmann committed Jun 10, 2023
1 parent b7ce3b1 commit e5b9b18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/borg/testsuite/archiver/tar_cmds.py
Expand Up @@ -150,7 +150,9 @@ def test_import_tar_with_dotdot(self):

self.cmd(f"--repo={self.repository_location}", "rcreate", "--encryption=none")
with pytest.raises(ValueError, match="unexpected '..' element in path '../../../../etc/shadow'"):
self.cmd(f"--repo={self.repository_location}", "import-tar", "dst", tar_archive, exit_code=2)
self.cmd(f"--repo={self.repository_location}", "import-tar", "dst", tar_archive)
files = self.cmd(f"--repo={self.repository_location}", "list", "dst", "--format", "{path}{NL}").splitlines()
print(files)

@requires_gzip
def test_import_tar_gz(self, tar_format="GNU"):
Expand Down

0 comments on commit e5b9b18

Please sign in to comment.