portability enhancement: use "#!/usr/bin/env <interpreter>" on all perl scripts and shell scripts that use bash extensions, and use "#!/bin/sh" on the rest.

This commit is contained in:
Daniel Pouzzner
2024-08-20 13:48:33 -05:00
parent 4f4fb4bd0a
commit 1c68da282c
61 changed files with 65 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# aria_cmake_build_test.sh
#

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script is designed to compare the output of wolfcrypt/benchmark test
# application. If the file has an extension ".csv", then it will parse the
# comma separated format, otherwise it will use the standard output format. The

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#crl.test
# if we can, isolate the network namespace to eliminate port collisions.

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# dertoc.pl
# version 1.0

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This script can be run with several environment variables set dictating its
# run. You can set the following to what you like:

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# dtlscid.test
# Copyright wolfSSL 2022-2024

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# external.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# google.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#set -v
# Script to produce a small source/header only package (with CMake support)

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Run this script from the wolfSSL root as `./scripts/memtest.sh`.
@@ -14,7 +14,7 @@ make
for i in {1..1000}
do
echo "Trying $i...\n"
echo -e "Trying ${i}...\n"
./tests/unit.test > ./scripts/memtest.txt 2>&1

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# ocsp-stapling-with-ca-as-responder.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# ocsp-stapling.test
# Test requires HAVE_OCSP and HAVE_CERTIFICATE_STATUS_REQUEST

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# ocsp-stapling2.test
# Test requires HAVE_OCSP and HAVE_CERTIFICATE_STATUS_REQUEST_V2

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# openssl.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Test WolfSSL/OpenSSL srtp interoperability
#
# TODO: add OpenSSL client with WolfSSL server

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# pem.test
# Copyright wolfSSL 2023-2023

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# ping.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#pkcallbacks.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# psk.test
# copyright wolfSSL 2016

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#resume.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#set -x
# Run this script from the wolfSSL root

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#sniffer-testsuite.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
WOLF_ROOT=$(eval "pwd")
echo "WOLF_ROOT set to: \"$WOLF_ROOT\""
cd ../ || exit 5

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# tls13.test
# Copyright wolfSSL 2016-2021

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# trusted_peer.test
# copyright wolfSSL 2016