mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-08 07:16:58 +02:00
Explicitely use gawk in the new regression testing facility.
Turns out that debian has mawk by default, which is not behaving the same in our very simple use case already. In passing, add gawk as a build dependency of the debian package, because the packaging is meant to exercize the test cases.
This commit is contained in:
parent
3bcd236de6
commit
f6fae39b2e
2
Makefile
2
Makefile
@ -124,7 +124,7 @@ pgloader-standalone:
|
|||||||
--output $(PGLOADER)
|
--output $(PGLOADER)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) -C test all
|
$(MAKE) PGLOADER=$(realpath $(PGLOADER)) -C test regress
|
||||||
|
|
||||||
deb: docs
|
deb: docs
|
||||||
# intended for use on a debian system
|
# intended for use on a debian system
|
||||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -2,7 +2,7 @@ Source: pgloader
|
|||||||
Section: database
|
Section: database
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
|
Maintainer: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
|
||||||
Build-Depends: debhelper (>= 8.0.0), sbcl (>= 1.1.13), ruby-ronn, buildapp (>= 1.5), cl-asdf (>= 3.0.3), cl-log, cl-postmodern, cl-qmynd, cl-split-sequence, cl-csv, cl-fad, cl-lparallel, cl-esrap, cl-alexandria, cl-drakma, cl-zip, cl-flexi-streams, cl-usocket, cl-local-time, cl-command-line-arguments, cl-abnf, cl-db3, cl-py-configparser, cl-sqlite, cl-trivial-backtrace, cl-markdown, cl-md5, cl-asdf-finalizers, cl-asdf-system-connections, cl-cffi (>= 1:0.12.0)
|
Build-Depends: debhelper (>= 8.0.0), sbcl (>= 1.1.13), ruby-ronn, buildapp (>= 1.5), cl-asdf (>= 3.0.3), cl-log, cl-postmodern, cl-qmynd, cl-split-sequence, cl-csv, cl-fad, cl-lparallel, cl-esrap, cl-alexandria, cl-drakma, cl-zip, cl-flexi-streams, cl-usocket, cl-local-time, cl-command-line-arguments, cl-abnf, cl-db3, cl-py-configparser, cl-sqlite, cl-trivial-backtrace, cl-markdown, cl-md5, cl-asdf-finalizers, cl-asdf-system-connections, cl-cffi (>= 1:0.12.0), gawk
|
||||||
Standards-Version: 3.9.3
|
Standards-Version: 3.9.3
|
||||||
Homepage: https://github.com/dimitri/pgloader
|
Homepage: https://github.com/dimitri/pgloader
|
||||||
Vcs-Git: https://github.com/dimitri/pgloader.git
|
Vcs-Git: https://github.com/dimitri/pgloader.git
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
pgloader=$1
|
pgloader=$1
|
||||||
command=$2
|
command=$2
|
||||||
targetdb=`awk -F '[ ?]+' '/^ *INTO|into/ {print $3}' < $command`
|
targetdb=`gawk -F '[ ?]+' '/^ *INTO|into/ {print $3}' < $command`
|
||||||
table=`awk -F '[ ?]+' '/^ *INTO|into/ {print $4}' < $command`
|
table=`gawk -F '[ ?]+' '/^ *INTO|into/ {print $4}' < $command`
|
||||||
|
|
||||||
expected=regress/expected/`basename $2 .load`.out
|
expected=regress/expected/`basename $2 .load`.out
|
||||||
out=regress/out/`basename $2 .load`.out
|
out=regress/out/`basename $2 .load`.out
|
||||||
|
Loading…
Reference in New Issue
Block a user