On at least one platform (Solaris), the shell located at /bin/sh is
not a compliant shell. Using env as a form of redirection to find
a sh program, the PATH can be changed to find a compliant sh
to use. On platforms where /bin/sh is compliant, env should work
just fine.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1133
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
-#!/bin/sh
+#!/usr/bin/env sh
. ./test_vars
-#!/bin/sh
+#!/usr/bin/env sh
OUTPUT_FILE=test.log
-#!/bin/sh
+#!/usr/bin/env sh
UNIT_TEST=./check_mem_leaks
VALGRIND_LOG_FILE=${UNIT_TEST}.valgrind
-#!/bin/sh
+#!/usr/bin/env sh
. ./test_vars
. $(dirname $0)/test_output_strings
-#!/bin/sh
+#!/usr/bin/env sh
OUTPUT_FILE=test.tap
-#!/bin/sh
+#!/usr/bin/env sh
OUTPUT_FILE=test.xml
CK_DEFAULT_TIMEOUT=4