summary refs log tree commit diff
path: root/pkgs/tools/backup/duplicity/gnutar-in-test.patch
blob: b2820feb0190ae11bae64df41dd320e912f14680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/testing/functional/test_restart.py
+++ b/testing/functional/test_restart.py
@@ -323,14 +323,7 @@ class RestartTestWithoutEncryption(RestartTest):
         https://launchpad.net/bugs/929067
         """

-        if platform.system().startswith('Linux'):
-            tarcmd = "tar"
-        elif platform.system().startswith('Darwin'):
-            tarcmd = "gtar"
-        elif platform.system().endswith('BSD'):
-            tarcmd = "gtar"
-        else:
-            raise Exception("Platform %s not supported by tar/gtar." % platform.platform())
+        tarcmd = "tar"

         # Intial normal backup
         self.backup("full", "testfiles/blocktartest")