aboutsummaryrefslogtreecommitdiff
path: root/REGRESS
blob: eb3b5d7ac70b2fa5136e398cdd65f884d6a5c223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#! /bin/sh

case `uname` in
CYGWIN)	EXE=a.exe ;;
*)	EXE=a.out ;;
esac

if [ ! -f $EXE ]
then
	make || exit 1
fi

if [ -d testdir ]
then
	true	# do nothing
elif [ -f awktest.tar ]
then
	echo extracting testdir
	tar -xpf awktest.tar
else
	echo $0: No testdir directory and no awktest.tar to extract it from! >&2
	exit 1
fi

cd testdir
pwd
PATH=.:$PATH
export PATH
if (ulimit -c unlimited > /dev/null 2>&1)
then
	# Workaround broken default on MacOS X
	ulimit -c unlimited
fi

REGRESS

cd ..
cd bugs-fixed
REGRESS