]> git.ipfire.org Git - thirdparty/suricata-update.git/commitdiff
integration-test: use python executable thats starts test
authorJason Ish <jason.ish@oisf.net>
Wed, 11 Dec 2019 16:29:28 +0000 (10:29 -0600)
committerJason Ish <jason.ish@oisf.net>
Wed, 11 Dec 2019 21:16:10 +0000 (15:16 -0600)
Use the Python binary that was used to start the integration
test to run suricata-update.

tests/integration_tests.py

index 8158ae4f61862975eeaed7edeb186678a56e130d..770575337b026087e9aa6e7a45a4b707e2862ef5 100755 (executable)
@@ -29,6 +29,7 @@ if os.path.exists(DATA_DIR):
     delete(DATA_DIR)
 
 common_args = [
+    sys.executable,
     "./bin/suricata-update",
     "-D", DATA_DIR,
     "-c", "./tests/empty",