From 4be92e14e622f0e8d01737e37a0e60f87a7d8a40 Mon Sep 17 00:00:00 2001 From: Ben10do Date: Thu, 20 Jul 2017 19:21:06 +0100 Subject: [PATCH] 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. --- test/asm/test.sh | 1 + test/asm/update-refs.sh | 1 + test/link/test.sh | 1 + test/link/update-refs.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/test/asm/test.sh b/test/asm/test.sh index c8fca9d5..5d85142f 100755 --- a/test/asm/test.sh +++ b/test/asm/test.sh @@ -1,3 +1,4 @@ +#!/bin/sh fname=$(mktemp) rc=0 diff --git a/test/asm/update-refs.sh b/test/asm/update-refs.sh index b2f88907..d956ff31 100755 --- 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 diff --git a/test/link/test.sh b/test/link/test.sh index 6d012831..275dd891 100755 --- a/test/link/test.sh +++ b/test/link/test.sh @@ -1,3 +1,4 @@ +#!/bin/sh otemp=$(mktemp) gbtemp=$(mktemp) gbtemp2=$(mktemp) diff --git a/test/link/update-refs.sh b/test/link/update-refs.sh index 169808d6..10f141b1 100755 --- a/test/link/update-refs.sh +++ b/test/link/update-refs.sh @@ -1,3 +1,4 @@ +#!/bin/sh otemp=$(mktemp) gbtemp=$(mktemp)