aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xtestdir/T.chem3
-rwxr-xr-xtestdir/T.lilly2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index af2e5e7..0ecc656 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2019-11-08 Arnold D. Robbins <arnold@skeeve.com>
+
+ * test/T.chem: Use $oldawk instead of hardwiring 'awk'.
+ * test/T.lilly: Remove gawk warnings from output, improves
+ portability.
+
2019-10-07 Arnold D. Robbins <arnold@skeeve.com>
* b.c (fnematch): Change type of pbuf from unsigned char to char.
diff --git a/testdir/T.chem b/testdir/T.chem
index 19d1942..75a0db0 100755
--- a/testdir/T.chem
+++ b/testdir/T.chem
@@ -1,10 +1,11 @@
echo T.chem: test chem.awk
awk=${awk-../a.out}
+oldawk=${oldawk-awk}
for i in lsd1.p penicil.p res.p
do
$awk -f chem.awk $i >foo1
- awk -f chem.awk $i >foo2
+ $oldawk -f chem.awk $i >foo2
diff foo1 foo2 || echo "BAD: T.chem on $i"
done
diff --git a/testdir/T.lilly b/testdir/T.lilly
index bf94e01..fb18fbd 100755
--- a/testdir/T.lilly
+++ b/testdir/T.lilly
@@ -22,7 +22,7 @@ $awk '
echo `cat lilly.progs | wc -l` tests
-sed -e 's/awk://' -e 's/Syntax/syntax/' foo1 >glop1
+sed -e 's/awk://' -e 's/Syntax/syntax/' -e '/warning:/d' foo1 >glop1
sed 's/..\/a.out://' foo2 >glop2
diff glop1 glop2 >lilly.diff || echo 'bad: T.lilly is different'
echo