aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:33:03 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:33:03 +0300
commit2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb (patch)
tree469bebda4e807139efb497edfca1ec0678b5ab8b /test
parent66b0bdd602e952f20fa98f6ce5430cea68d4f598 (diff)
downloadegawk-2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb.tar.gz
egawk-2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb.tar.bz2
egawk-2f83a4e72166e811a9f0b4726c19a3d5a0b17dcb.zip
Move to gawk-2.15.5.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile7
-rw-r--r--test/manyfiles.awk2
-rw-r--r--test/rs.good1
3 files changed, 5 insertions, 5 deletions
diff --git a/test/Makefile b/test/Makefile
index 8f10d339..0cd4397c 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -7,7 +7,7 @@ basic: msg swaplns messages argarray longwrds \
fsbs negexp asgext anchgsub splitargv awkpath nfset reparse
gawk.extensions: fieldwdth ignrcase posix manyfiles igncfs argtest \
- badargtest
+ badargs
extra: regtest inftest
@@ -69,6 +69,7 @@ posix::
cmp posix.good tmp && rm -f tmp
manyfiles::
+ @rm -rf junk
@mkdir junk
@../gawk 'BEGIN { for (i = 1; i <= 300; i++) print i, i}' >tmp
@../gawk -f manyfiles.awk tmp tmp
@@ -137,9 +138,9 @@ argtest::
@../gawk -f argtest.awk -x -y abc >tmp
cmp argtest.good tmp && rm -f tmp
-badargtest::
+badargs::
@-../gawk -f 2>&1 | grep -v patchlevel > tmp
cmp badargs.good tmp && rm -f tmp
clean:
- rm -f tmp core
+ rm -fr tmp core junk
diff --git a/test/manyfiles.awk b/test/manyfiles.awk
index 212e88d7..8651a3a4 100644
--- a/test/manyfiles.awk
+++ b/test/manyfiles.awk
@@ -1 +1 @@
-{ print $2 > "junk/" $1 }
+{ print $2 > ("junk/" $1) }
diff --git a/test/rs.good b/test/rs.good
index 7e14cc14..9dd6bd39 100644
--- a/test/rs.good
+++ b/test/rs.good
@@ -1,4 +1,3 @@
a b
c d
e
-