aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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
-