mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
19 lines
265 B
Plaintext
19 lines
265 B
Plaintext
|
#! /bin/sh
|
||
|
|
||
|
case "$AWK" in
|
||
|
"") AWK=../gawk ;;
|
||
|
esac
|
||
|
#AWK=${AWK:-../gawk}
|
||
|
|
||
|
for i in reg/*.awk
|
||
|
do
|
||
|
it=`basename $i .awk`
|
||
|
$AWK -f $i <reg/$it.in >reg/$it.out 2>&1
|
||
|
if cmp -s reg/$it.out reg/$it.good
|
||
|
then
|
||
|
rm -f reg/$it.out
|
||
|
else
|
||
|
echo "regtest: $it fails"
|
||
|
fi
|
||
|
done
|