2019-05-04 02:16:54 +02:00
|
|
|
--- a/testing/functional/test_restart.py
|
|
|
|
+++ b/testing/functional/test_restart.py
|
|
|
|
@@ -323,14 +323,7 @@ class RestartTestWithoutEncryption(RestartTest):
|
|
|
|
https://launchpad.net/bugs/929067
|
|
|
|
"""
|
|
|
|
|
2020-01-05 17:01:50 +01:00
|
|
|
- if platform.system().startswith(u'Linux'):
|
|
|
|
- tarcmd = u"tar"
|
|
|
|
- elif platform.system().startswith(u'Darwin'):
|
|
|
|
- tarcmd = u"gtar"
|
|
|
|
- elif platform.system().endswith(u'BSD'):
|
|
|
|
- tarcmd = u"gtar"
|
2019-05-04 02:16:54 +02:00
|
|
|
- else:
|
2020-01-05 17:01:50 +01:00
|
|
|
- raise Exception(u"Platform %s not supported by tar/gtar." % platform.platform())
|
|
|
|
+ tarcmd = u"tar"
|
2019-05-04 02:16:54 +02:00
|
|
|
|
|
|
|
# Intial normal backup
|
|
|
|
self.backup("full", "testfiles/blocktartest")
|