From 518c4fbca89ac4b0ee205ad1fb3323c93e33c270 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 10 Jun 2023 14:17:07 +0200 Subject: [PATCH] skip test_import_tar_with_dotdot for binary testing --- src/borg/testsuite/archiver/tar_cmds.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/borg/testsuite/archiver/tar_cmds.py b/src/borg/testsuite/archiver/tar_cmds.py index 3da783f59..3fe63f0ba 100644 --- a/src/borg/testsuite/archiver/tar_cmds.py +++ b/src/borg/testsuite/archiver/tar_cmds.py @@ -235,3 +235,8 @@ class RemoteArchiverTestCase(RemoteArchiverTestCaseBase, ArchiverTestCase): @unittest.skipUnless("binary" in BORG_EXES, "no borg.exe available") class ArchiverTestCaseBinary(ArchiverTestCaseBinaryBase, ArchiverTestCase): """runs the same tests, but via the borg binary""" + + @unittest.skip("does not work with binaries") + def test_import_tar_with_dotdot(self): + # the test checks for a raised exception. that can't work if the code runs in a separate process. + pass