exclude another incomatible read-write-mode-combination
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 25 Jul 2016 09:55:40 +0000 (11:55 +0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 12 Nov 2020 14:04:34 +0000 (15:04 +0100)
testing/test_volume_split.py

index 41ac57a..620dd06 100755 (executable)
@@ -335,6 +335,9 @@ def test_forever():
                         # figure out extract mode for tar file
                         if ('#' in extract_start) and ('#' not in create_mode):
                             continue    # not possible
+                        if ':' in extract_start and \
+                                not create_mode.endswith('tar'):
+                            continue    # not possible
                         full_extract_mode = extract_start
                         if extract_start[-1] != '*':
                             full_extract_mode += create_mode[2:]