From b24a37ab4ae25adc939aa5806602ed4eccf04284 Mon Sep 17 00:00:00 2001 From: Randall Meyer Date: Mon, 18 Oct 2021 13:45:46 -0700 Subject: [PATCH] tests: Add shbang to python scripts with a main --- 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 aaf2622e66b..01659d36c5a 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 2e1d86d3311..ab73da24e03 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 a7fee074ace..975276115f5 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 d8f3ce0a101..b3599cf6d41 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 e666318ed84..3d9b7816afb 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 47fb4b4639e..f84796e05f7 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 7ebfb808cfa..774193d6d61 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 d2a90447c87..a0a7fb63fe7 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