From f61e1822d8ee404be2f88a9a2c3a6afb7f0fb62d Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Fri, 3 Jul 2015 17:57:49 +0200 Subject: [PATCH] Unit test: Skip multivolume split test for modes that don't support it. Actual code borrowed from test_restore_from_index(). Same code in test_restore_multivol_from_index() and a few others. All unit tests running again. --- testing/test_deltatar.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/testing/test_deltatar.py b/testing/test_deltatar.py index 3a46ccc..48ac776 100644 --- a/testing/test_deltatar.py +++ b/testing/test_deltatar.py @@ -179,6 +179,11 @@ class DeltaTarTest(BaseTest): with big files bigger than the max volume size and restore it. ''' + + # this test only works for uncompressed or concat compressed modes + if self.MODE.startswith(':') or self.MODE.startswith('|'): + return + deltatar = DeltaTar(mode=self.MODE, password=self.PASSWORD, logger=self.consoleLogger) -- 1.7.1