summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorBruce Momjian1998-12-13 05:14:53 +0000
committerBruce Momjian1998-12-13 05:14:53 +0000
commit2d11676999342256a28149429034658fbb55999b (patch)
treefa482bd06039cf75a69e051a0b6b387c82d070c3 /src/test
parentafded8add308cdc77da9fce994c603b34b90cc0e (diff)
Cleanup patch from Oleg.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/locale/Makefile2
-rwxr-xr-xsrc/test/locale/koi8-r/runall2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/locale/Makefile b/src/test/locale/Makefile
index 36c951c5d09..c59aba7ab66 100644
--- a/src/test/locale/Makefile
+++ b/src/test/locale/Makefile
@@ -30,4 +30,4 @@ clean:
done
test-%: all
- @cd `echo $@ | sed s/^test-//` && $(MAKE) test
+ @cd `echo $@ | sed 's/^test-//'` && $(MAKE) test
diff --git a/src/test/locale/koi8-r/runall b/src/test/locale/koi8-r/runall
index cf6e3b77c30..a6b81baa823 100755
--- a/src/test/locale/koi8-r/runall
+++ b/src/test/locale/koi8-r/runall
@@ -41,7 +41,7 @@ for f in char varchar text; do
destroydb testlocale >/dev/null 2>&1
createdb testlocale || abort "createdb failed"
- psql -d testlocale -c "CREATE TABLE usastates (abbrev char2, name_en char(20), name_ru $ftype);" >/dev/null 2>&1 || abort "createtable failed"
+ psql -d testlocale -c "CREATE TABLE usastates (abbrev char(2), name_en char(20), name_ru $ftype);" >/dev/null 2>&1 || abort "createtable failed"
psql testlocale < test-koi8.sql.in > test-koi8-$f.sql.out 2>/dev/null || abort "test query failed"
diff expected/test-koi8-$f.sql.out test-koi8-$f.sql.out
done