mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
b5126937b4
Update, port to Python 3 and clean up. Co-Authored-By: Jan Tojnar <jtojnar@gmail.com> Co-Authored-By: Frederik Rietdijk <fridh@fridh.nl>
19 lines
677 B
Diff
19 lines
677 B
Diff
--- 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(u'Linux'):
|
|
- tarcmd = u"tar"
|
|
- elif platform.system().startswith(u'Darwin'):
|
|
- tarcmd = u"gtar"
|
|
- elif platform.system().endswith(u'BSD'):
|
|
- tarcmd = u"gtar"
|
|
- else:
|
|
- raise Exception(u"Platform %s not supported by tar/gtar." % platform.platform())
|
|
+ tarcmd = u"tar"
|
|
|
|
# Intial normal backup
|
|
self.backup("full", "testfiles/blocktartest")
|