#!/usr/bin/env python

import sys
import pytest

tests = [
    '-v -s -m indexed_gzip_test --niters 250          --pyargs indexed_gzip -k "not drop_handles"',
    '-v -s -m indexed_gzip_test --niters 250 --concat --pyargs indexed_gzip -k "not drop_handles"'
]

for t in tests:
    if pytest.main(t.split()) != 0:
        sys.exit(1)

sys.exit(0)

@@ -27,16 +27,29 @@
 ort sys%0A
+import shlex%0A
 import p
@@ -306,16 +306,21 @@
 ain(
-t
+shlex
 .split(
+t
 )) !

Fix string split in run_test.py