ref: 4be92e14e622f0e8d01737e37a0e60f87a7d8a40
parent: 1b155d9d4cfbf0d39acd26108d59ec5ab4e28cac
author: Ben10do <[email protected]>
date: Thu Jul 20 15:21:06 EDT 2017
Add shebang to test shell scripts This ensures that the test scripts are correctly run with the Bourne shell, regardless of the (potentially more exotic) shell that is used to invoke the script.
--- a/test/asm/test.sh
+++ b/test/asm/test.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
fname=$(mktemp)
rc=0
--- a/test/asm/update-refs.sh
+++ b/test/asm/update-refs.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
fname=$(mktemp)
for i in *.asm; do
--- a/test/link/test.sh
+++ b/test/link/test.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
otemp=$(mktemp)
gbtemp=$(mktemp)
gbtemp2=$(mktemp)
--- a/test/link/update-refs.sh
+++ b/test/link/update-refs.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
otemp=$(mktemp)
gbtemp=$(mktemp)