SHA256
6
0
forked from pool/bash
2016-09-16 11:10:58 +00:00
committed by Git OBS Bridge
parent b7ddb40200
commit 4e5141c5ac
46 changed files with 645 additions and 829 deletions

View File

@@ -1,5 +1,16 @@
#! /bin/sh
: ${TMPDIR:=/tmp}
export TMPDIR
# basic /bin/sh syntax
SUFFIX=`${THIS_SH} -c 'echo $(( $RANDOM + $BASHPID ))'`
BASH_TSTOUT=${TMPDIR}/bashtst-$SUFFIX # for now
export BASH_TSTOUT
trap 'rm -f $BASH_TSTOUT' 0
PATH=.:$PATH # just to get recho/zecho/printenv if not run via `make tests'
export PATH
@@ -13,7 +24,7 @@ export THIS_SH
${THIS_SH} ./version
rm -f /tmp/xx
rm -f "$BASH_TSTOUT"
echo Any output from any test, unless otherwise noted, indicates a possible anomaly