You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/11/08 23:29:20 UTC

[trafficserver] branch 9.2.x updated: tests: Add shbang to python scripts with a main (#8430)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new ba06613  tests: Add shbang to python scripts with a main (#8430)
ba06613 is described below

commit ba066135fe03e168adb4404f0a06f76cd43fb159
Author: Randall Meyer <rr...@apache.org>
AuthorDate: Mon Oct 18 15:59:48 2021 -0700

    tests: Add shbang to python scripts with a main (#8430)
    
    (cherry picked from commit 727106e7ef96e781947d6559975a632449b9ed32)
---
 tests/gold_tests/h2/h2active_timeout.py                   | 2 ++
 tests/gold_tests/h2/h2bigclient.py                        | 2 ++
 tests/gold_tests/h2/h2chunked.py                          | 2 ++
 tests/gold_tests/h2/h2client.py                           | 2 ++
 tests/gold_tests/pluginTest/traffic_dump/verify_replay.py | 2 ++
 tests/gold_tests/slow_post/slow_post_client.py            | 2 ++
 tests/gold_tests/thread_config/check_threads.py           | 2 ++
 tests/gold_tests/tls/test-0rtt-s_client.py                | 2 ++
 8 files changed, 16 insertions(+)

diff --git a/tests/gold_tests/h2/h2active_timeout.py b/tests/gold_tests/h2/h2active_timeout.py
index aaf2622..01659d3 100644
--- a/tests/gold_tests/h2/h2active_timeout.py
+++ b/tests/gold_tests/h2/h2active_timeout.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 '''
 '''
 #  Licensed to the Apache Software Foundation (ASF) under one
diff --git a/tests/gold_tests/h2/h2bigclient.py b/tests/gold_tests/h2/h2bigclient.py
index 2e1d86d..ab73da2 100644
--- a/tests/gold_tests/h2/h2bigclient.py
+++ b/tests/gold_tests/h2/h2bigclient.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 '''
 '''
 #  Licensed to the Apache Software Foundation (ASF) under one
diff --git a/tests/gold_tests/h2/h2chunked.py b/tests/gold_tests/h2/h2chunked.py
index a7fee07..9752761 100644
--- a/tests/gold_tests/h2/h2chunked.py
+++ b/tests/gold_tests/h2/h2chunked.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 '''
 '''
 #  Licensed to the Apache Software Foundation (ASF) under one
diff --git a/tests/gold_tests/h2/h2client.py b/tests/gold_tests/h2/h2client.py
index d8f3ce0..b3599cf 100644
--- a/tests/gold_tests/h2/h2client.py
+++ b/tests/gold_tests/h2/h2client.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 '''
 '''
 #  Licensed to the Apache Software Foundation (ASF) under one
diff --git a/tests/gold_tests/pluginTest/traffic_dump/verify_replay.py b/tests/gold_tests/pluginTest/traffic_dump/verify_replay.py
index e666318..3d9b781 100644
--- a/tests/gold_tests/pluginTest/traffic_dump/verify_replay.py
+++ b/tests/gold_tests/pluginTest/traffic_dump/verify_replay.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 """
 Verify that a given JSON replay file fulfills basic expectations.
 """
diff --git a/tests/gold_tests/slow_post/slow_post_client.py b/tests/gold_tests/slow_post/slow_post_client.py
index 47fb4b4..f84796e 100644
--- a/tests/gold_tests/slow_post/slow_post_client.py
+++ b/tests/gold_tests/slow_post/slow_post_client.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 '''
 '''
 #  Licensed to the Apache Software Foundation (ASF) under one
diff --git a/tests/gold_tests/thread_config/check_threads.py b/tests/gold_tests/thread_config/check_threads.py
index 7ebfb80..774193d 100755
--- a/tests/gold_tests/thread_config/check_threads.py
+++ b/tests/gold_tests/thread_config/check_threads.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 '''
 '''
 #  Licensed to the Apache Software Foundation (ASF) under one
diff --git a/tests/gold_tests/tls/test-0rtt-s_client.py b/tests/gold_tests/tls/test-0rtt-s_client.py
index d2a9044..a0a7fb6 100644
--- a/tests/gold_tests/tls/test-0rtt-s_client.py
+++ b/tests/gold_tests/tls/test-0rtt-s_client.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 '''
 '''
 #  Licensed to the Apache Software Foundation (ASF) under one