Explorar el Código

skip test_import_tar_with_dotdot for binary testing

Thomas Waldmann hace 2 años
padre
commit
518c4fbca8
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/borg/testsuite/archiver/tar_cmds.py

+ 5 - 0
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")
 @unittest.skipUnless("binary" in BORG_EXES, "no borg.exe available")
 class ArchiverTestCaseBinary(ArchiverTestCaseBinaryBase, ArchiverTestCase):
 class ArchiverTestCaseBinary(ArchiverTestCaseBinaryBase, ArchiverTestCase):
     """runs the same tests, but via the borg binary"""
     """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