2021-12-04  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.50 (tag v0.50)

2021-12-04  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Avoid race condition in cluster pidfile handling.

	* fake-cluster-control.in (0):
	Avoid "|| exec rm" construct.
	Rewrite as simple if..then..else..fi block.

2021-12-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Specify mode "r0" when heavily testing ‘pg-lo-tell’.

	* large.scm (test:lo-tell): ...here, in ‘pg-lo-open’ call.

2020-11-13  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.49 (tag v0.49)

2020-11-13  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Simplify ALTER SYSTEM SET to just SET.

	* basic.scm (prepare-database!): ...here;
	also, no longer reset the connection.

2020-11-12  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] For PostgreSQL 13 and later, don't test meta.scm.

	* meta.scm <top-level>: Exit w/ status 77 for PostgreSQL 13 and later.

2020-11-12  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Avoid CREATE TABLE ... WITH OIDS.

	* basic.scm (prepare-database!): New proc.
	(make-table!): Use ‘prepare-database!’; don't specify WITH OIDS.
	(oid-value-ok): New proc.
	(test:oid-value-was-oid-status): Use ‘oid-value-ok’.
	(test:oid-value): Likewise.

2020-11-12  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Accomodate MAJOR.MINOR server version for PostgreSQL 10 and later.

	* basic.scm (test:server-version): If in
	MAJOR.MINOR format, don't bother w/ "middle" component.

2020-11-10  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Suppress Guile "auto-compilation".

	* Makefile.am (TESTS_ENVIRONMENT): Specify ‘GUILE_AUTO_COMPILE=0’.

2020-10-26  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.48 (tag v0.48)

2019-12-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Drain input in seek test.

	Omission from 2017-03-03, "Actually test pg-lo-seek
	in ‘test:lo-seek2’!"  The "this reveals a bug" statement
	was incorrect; the test was incompletely constructed.

	* large.scm (test:lo-seek2): After initial seek,
	do ‘drain-input’ and check its return value.
	* Makefile.am (XFAIL_TESTS): Remove large.scm.

2018-05-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Make sure ‘initdb’ is valid.

	* fake-cluster-control.in: ...here, prior to $1 check.
	If empty value or not executable, signal error.

2017-06-13  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[build v] Support configure-time ‘INITDB’ specification.

	* fake-cluster-control.in: Rename from fake-cluster-control;
	(initdb): Use ‘@INITDB@’ as default value.
	* Makefile.am (CTL): Update fake-cluster-control
	call to invoke via ‘sh’ instead of directly.
	* cleanup.scm: Likewise.
	* runtest.in: Likewise.

2017-06-07  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Incorporate ‘interpolate-list’ into unique caller.

	* basic.scm (interpolate-list): Delete proc.
	(make-table!): Incorporate ‘interpolate-list’.

2017-06-07  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Decruft: Make do w/o ‘as-string’.

	* basic.scm (as-string): Delete proc.
	(make-table!): Use pair car and cdr directly.

2017-06-07  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Simplify ‘interpolate-list’.

	This is now similar to Emacs Lisp ‘mapconcat’.

	* basic.scm (interpolate-list): Don't bother w/ ‘as-string’.
	drop args ‘afore’, ‘aft’; replace their refs w/ "(", ")";
	move arg ‘twixt’ to end.
	(as-string, make-table!): Update call to ‘interpolate-list’.

2017-06-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[int] Use SRFI 13 more.

	* basic.scm: Import SRFI 13.
	(interpolate-list): Rewrite.
	* meta.scm: Import SRFI 13.
	(QUERY): Use ‘string-join’.

2017-06-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v qcons] Add test for ‘idquote’.

	* types-table.scm (test:idquote): New proc.
	(main): Add call to ‘test:idquote’; update expected-pass number.

2017-03-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Drop (database postgres) proc: pg-lo-read

	* large.scm (test:lo-read): Delete proc.
	(test:lo-seek2 read-string): New proc.
	(test:lo-seek2): Use ‘read-string’ instead of ‘pg-lo-read’.
	(test:lo-tell): Use ‘read-char’ instead of ‘pg-lo-read’.
	(main): Remove ‘test:lo-read’; update expected-pass number.

2017-03-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Actually test pg-lo-seek in ‘test:lo-seek2’!

	This reveals a bug: port buffering not updated.

	* large.scm (test:lo-seek2): Also, seek CUR, read at
	new position, seek back, and check the values of the
	those operations, prior to final ‘data’ fill.
	* Makefile.am (XFAIL_TESTS): Add large.scm.

2015-02-23  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.47 (tag v0.47)

2015-01-09  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v slog] Add abstraction: excruciatingly-correct-string-filter

	* types-table.scm (excruciatingly-correct-string-filter):
	New alias or proc, depending on ‘(cond-expand (guile-2 ...))’.
	(POISON-COUNTS): Use ‘excruciatingly-correct-string-filter’,
	and arrange for CHAR-PRED to precede STRING in its arglist.

2015-01-07  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v slog] Instruct Guile 2 not to conflate "[]" w/ "()".

	* types-table.scm [guile-2]: Disable ‘square-brackets’ read option.

2015-01-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Convert array type names from trailing "[]" to leading "*".

	* types-table.scm (test:set!-m): ...here, in table def.

2014-12-04  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add "test" to kill daemon.

	* Makefile.am (TESTS): Add cleanup.scm.
	* cleanup.scm: New file.

2014-11-28  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Add abstraction: env-1?

	* testing.scm (env-1?): New proc.
	<top-level>: Use ‘env-1?’ for ‘DEBUG’ and ‘VERBOSE’ handling.
	* types-table.scm (mgr, command-ok?): Use ‘env-1?’.
	<top-level>: Likewise, for ‘DEBUG’ handling.
	(mtest:select-*-error_condition): Use ‘env-1?’.

2014-10-30  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Move bulk of ‘pg-guile-pg-loaded’ testing to alive.scm.

	* alive.scm: Check presence and behavior of
	‘pg-guile-pg-loaded’; display features if ‘VERBOSE=1’.
	* basic.scm (test:pg-guile-pg-loaded):
	Simplify to validate ‘symbol?’ elements, only.

2014-10-25  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[scheme int] Use SRFI 1 instead of (ice-9 common-list).

	* types-table.scm: Don't import ‘(ice-9 common-list)’;
	instead, import ‘(srfi srfi-1)’.

2014-10-11  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add "make check" option ‘VERBOSE=1’.

	* testing.scm <load-time actions>: If env var ‘VERBOSE’
	has value "1", arrange to send stdout to the null device.

2014-10-11  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Check well-formedness of types table cache.

	* types-table.scm (test:query-oid/type-name): ...here;
	also, ‘pg-finish’ the temporary connection when done.

2014-01-22  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Overcome PostgreSQL 9.3 "CREATE TABLE .. serial" reticence.

	* basic.scm (test:set-notice-out!-1 cmm): New proc.
	(test:set-notice-out!-1): Set ‘client_min_messages’
	to ‘basic1’ around call to ‘tmp-table’.

2014-01-22  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Handle PostgreSQL 9.3 config var ‘unix_socket_directories’.

	* fake-cluster-control (1): ...here, via regexp.

2014-01-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Move "fake-cluster-control 1" invocation to runtest.

	* runtest.in: Invoke "fake-cluster-control 1" here.
	* Makefile.am (check_DATA): Remove fake-cluster/postmaster.pid.
	(fake-cluster/postmaster.pid): Delete target.

2014-01-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add "make drop-database".

	* fake-cluster-control (d): New.
	* Makefile.am (drop-database): New target.

2014-01-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Create database exactly once, after daemon up.

	* fake-cluster-control (hopefully):
	Use ‘return’, not ‘exit’ on success.
	(1): Use ‘truly_down’ and convert early ‘exit’ to conditional
	block around daemon up commands; add commands to check for,
	and create if necessary, database ‘guile_pg_test’.
	* basic.scm: Remove all calls to ‘fresh!’ and ‘drop!’.
	* large.scm: Likewise.
	* meta.scm: Likewise.
	* types-table.scm: Likewise.
	* testing.scm (d/c, drop!, fresh!): Delete procs.

2014-01-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Add abstraction: frob

	* fake-cluster-control (frob): New func.
	(truly_up): Use ‘frob’.

2014-01-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Drop basic test table when done.

	* basic.scm (test:close): Do "DROP TABLE test" and validate.

2014-01-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Use temporary tables.

	* testing.scm: Import SRFI 13.
	(temp-table-command): New proc.
	* basic.scm (tmp-table): New proc.
	(test:set-notice-out!-1, test:set-notice-out!-2): Use ‘tmp-table’.
	(test:get-copy-data): Do "SELECT .. INTO TEMP".
	(test:asynchronous-retrieval): Use ‘tmp-table’.
	* large.scm (test:make-table): Use ‘temp-table-command’.

2014-01-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Use ‘(guile-baux common)’ procs.

	* runtest.in: Arrange to add ‘@abs_top_srcdir@/build-aux’
	to the ‘%load-path’ in the Guile invocation.
	* testing.scm (fs): Delete proc.
	(guile-baux common): Add ‘use-modules’ form.
	(d/c): Use ‘fso’.
	(fresh!): Use ‘die’.
	* alive.scm: Use ‘fso’.
	* basic.scm (ok?): Likewise.
	(ftype-name): Use ‘fs’.
	(test:pg-guile-pg-loaded, test:make-connection)
	(test:parameter-status, test:server-version): Use ‘fso’.
	(test:load-records): Use ‘fs’.
	(test:pg-exec-params): Use ‘fso’, ‘fs’.
	(test:pg-exec-prepared single): Use ‘fso’.
	(test:pg-exec-prepared spin): Use ‘fs’.
	(test:pg-exec-prepared): Likewise.
	(test:asynchronous-retrieval): Likewise.
	(test:request-cancel): Use ‘fso’.
	* meta.scm (VIEWS): Use ‘fs’.
	* types-table.scm (-fs, fs, fso): Delete procs.
	(mgr, sel/check): Use ‘fso’.
	(expect-bad-defs): Use ‘fs’.

2014-01-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Fix bug: Do "COMMIT TRANSACTION" after cancel.

	Long-standing omission from original 2005-08-24.

	* basic.scm (test:request-cancel): After tuples validation,
	don't hardcode success rv; instead, issue "COMMIT TRANSACTION"
	and return success only if that command is successful.

2014-01-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Use ‘truly_up’ more.

	* fake-cluster-control (truly_down, 1): ...here.

2014-01-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Use "DROP DATABASE IF EXISTS".

	* testing.scm (d/c): Don't take 2nd arg SEVERITY; instead,
	take REST; use it to construct the command for ‘pg-exec’;
	if the result is not ‘ok?’ say "FATAL" in the output message.
	(drop!, fresh!): Update calls to ‘d/c’.

2014-01-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Make ‘d/c’ take symbols, not strings.

	* testing.scm (d/c): ...here.
	(drop!, fresh!): Update calls to ‘d/c’.

2014-01-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Remove lame synchronization delays.

	* fake-cluster-control (truly_up, truly_down): New funcs.
	(hopefully): Use ‘truly_up’, ‘truly_down’; hardcode sleep time.
	(PGPATH): New var; init via initdb + sed + ‘eval’; check sanity.
	(1): Use global ‘PGPATH’.
	* testing.scm (drop!, fresh!): Don't ‘usleep’.

2014-01-16  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Use "fake-cluster-control 0" more.

	* Makefile.am (kill-daemon): Use ‘$(CTL) 0’.
	* fake-cluster-control (z): Delete command.

2014-01-16  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Handle daemon-down case where pidfile exists but is stale.

	* fake-cluster-control (0): If pidfile exists but "ps PID"
	fails, don't try to kill PID; instead, simply remove pidfile.

2014-01-09  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[pq] Fix bug: Make ‘pg-result-error-field’ DTRT.

	* basic.scm (test:known-bad-command):
	Test ‘pg-result-error-field’ rv explicitly.

2014-01-08  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Drop procs: pg-{getline,getlineasync,putline,endcopy}

	* basic.scm (test:getline, test:getlineasync)
	(test:putline): Delete procs.
	(main): Update expected-pass number.

2014-01-08  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Use pg-put-copy-{data,end} for async retrieval test.

	* basic.scm (test:asynchronous-retrieval): ...here,
	instead of ‘pg-putline’ and ‘pg-endcopy’;
	also, do/check ‘pg-get-result’ after ‘pg-put-copy-end’.

2014-01-08  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Rework loop to call ‘pg-flush’ inside.

	* basic.scm (test:asynchronous-retrieval): ...here.

2014-01-08  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Do/check ‘pg-get-result’ after ‘pg-put-copy-end’.

	* basic.scm (test:put-copy-data/end): ...here.

2014-01-08  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] No longer send "\\.\n" for COPY..STDIN.

	* basic.scm (test:put-copy-data/end, test:putline)
	(test:asynchronous-retrieval): Don't send "\\.\n".

2014-01-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Stash validated protocol version.

	* basic.scm (PVERS): New var.
	(test:protocol-version): Set ‘PVERS’.
	(test:transaction-status, test:set-error-verbosity)
	(test:fnumber-and-friends, test:pg-exec-params)
	(test:pg-exec-prepared, test:pg-exec-prepared)
	(test:asynchronous-notification)
	(test:asynchronous-retrieval): Use ‘PVERS’.

2013-03-10  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.45 (tag v0.45)

2012-12-23  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Set locale.

	* testing.scm: ...here, via ‘setlocale’ before everything.

2012-11-07  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add support for "make installcheck".

	* runtest.in (prefix): Don't set var if already in environment.
	* Makefile.am (installcheck-local): New target.

2012-04-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.44 (tag v0.44)

2012-04-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add support for "make check KEEPD=1".

	* Makefile.am (check-local): If ‘KEEPD’ is 1, don't kill the daemon.

2012-04-15  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[slog] Allow for pre-PostgreSQL 8.1 ‘pg-client-encoding’ rv.

	* types-table.scm (mgr) <verify client encoding is UTF8>:
	Accept "UNICODE" as well as "UTF-8".

2012-02-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.43 (tag v0.43)

2012-02-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Use a funky table name to exercise ‘validate-def’ a bit.

	* types-table.scm (test-m2): Change table name to ‘abstr∀ctions-2’.

2012-02-06  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add support for ‘make delete-cluster’.

	* Makefile.am (delete-cluster): New target.
	(clean-local): Don't depend on ‘kill-daemon’; instead,
	depend on ‘delete-cluster’ and remove rm(1) invocation.

2012-02-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Use a funky column name to exercise ‘validate-def’ a bit.

	* types-table.scm (test-m2): Change
	name of first column from ‘n’ to ‘∑╌’.

2012-02-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Set client encoding to UTF-8 explicitly for types/table tests.

	* types-table.scm (mgr try!): New proc.
	(mgr): Set client encoding to UTF-8; if not successful
	or if verification fails, exit failurefully.

2012-02-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	New (database postgres-qcons) proc: string-xrep

	* types-table.scm: Import SRFI 13, SRFI 14.
	(POISON): Include the xrep of the ‘cddr’ slice of ‘PESKY’.
	(POISON-COUNTS): Adjust char and byte counts.

2012-02-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[qcons] Fix bug: Make ‘sql-quote’ do backslash octal substitution.

	* Makefile.am (XFAIL_TESTS): Remove types-table.scm.

2012-02-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Expand ‘string’ round-trip test; mark xfail.

	* types-table.scm (PESKY): Add U+5C REVERSE SOLIDUS,
	U+22 QUOTATION MARK, U+7 BELL, U+C FORM FEED, U+A LINE FEED,
	U+D CARRIAGE RETURN, U+9 CHARACTER TABULATION, U+B LINE
	TABULATION, U+13 DEVICE CONTROL THREE, U+232C BENZENE RING,
	U+18 CANCEL, U+20 SPACE, plus eight two-char sequences made
	of ‘\’ followed by ‘[\"afnrtv]’.
	* Makefile.am (XFAIL_TESTS): New var.

2012-02-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add test to validate ‘string’ round-trip integrity.

	* types-table.scm: Add ‘coding:’ comment.
	(PESKY, POISON, POISON-COUNTS): New data structures;
	if ‘DEBUG’, display ‘POISON-COUNTS’ and ‘POISON’.
	(test:m-insert-1): Replace literal string "foo" with ‘POISON’.
	(mtest:select-*-error_condition): Select also "ec counts";
	add check to validate against ‘POISON-COUNTS’ and ‘POISON’.
	(main): Update expected-pass expression.

2012-02-01  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Display error if DEBUG for failing commands.

	* types-table.scm (command-ok?): If the
	result status is not ‘PGRES_COMMAND_OK’, display it
	and the error message as per ‘pg-result-error-message’.

2012-02-01  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Add abstractions: -fs, fs, fso

	* types-table.scm (-fs, fs, fso): New procs.
	(handle-exception-proc, sel/check, test-m3 check-1): Use ‘fs’.

2012-02-01  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Explicitly use UTF-8 for test database encoding.

	* testing.scm (d/c): For action "create", specify encoding ‘UTF8’.

2012-02-01  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Manage cluster creation and daemon bring-{up,down}.

	* fake-cluster-control: New file.
	* Makefile.am (CTL): New var.
	(EXTRA_DIST): Add fake-cluster-control.
	(check_DATA): Add fake-cluster/postmaster.pid.
	(CLEANFILES): Add fake-cluster.log.
	(fake-cluster/postmaster.pid, check-local, kill-daemon): New targets.
	(clean-local): Depend on ‘kill-daemon’; also, "rm -rf fake-cluster".
	* runtest.in (PGHOST): New var, exported.

2012-01-29  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v mgr] Add tests for malformed defs.

	* types-table.scm: Import ‘(ice-9 regex)’ procs.
	(handle-exception-proc): New proc.
	(pass-if-exception): New macro.
	(pgtable:exception:malformed-defs): New "exception object".
	(expect-bad-defs): New macro.
	(test-bad-defs): New proc.
	(main): Update expected-count and call ‘test-bad-defs’.

2011-09-29  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.41 (tag v0.41)

2011-09-27  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v mgr] Set ‘sql-quote-auto-E?’ on pgtable-manager creation, maybe.

	* types-table.scm: Import (database postgres-qcons) procs.
	(mgr): If the connection recognizes the runtime parameter
	‘standard_conforming_strings’, display its value and set
	‘sql-quote-auto-E?’.

2011-09-27  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[scheme int] Use ‘zero?’ more.

	* basic.scm (test:fnumber-and-friends): Use ‘zero?’.
	(test:asynchronous-retrieval): Likewise.
	* testing.scm (test-report): Likewise.

2011-09-27  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Simplify expression in basic.scm.

	* basic.scm (test:protocol-version): Don't bother
	checking that a number is not zero since the later check,
	that the number is greater than 1, covers that case.

2011-09-27  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v basic] Check protocol version directly.

	* basic.scm (test:parameter-status, test:set-error-verbosity)
	(test:fnumber-and-friends, test:pg-exec-prepared)
	(test:asynchronous-retrieval): Don't check for feature
	‘PQPROTOCOLVERSION’; instead check protocol version directly.

2011-09-26  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] For ‘make check DEBUG=1’, display the guile(1) invocation.

	* runtest.in: If env var ‘DEBUG’ is set, do ‘set -x’.

2011-09-24  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Don't use non-existent operator ‘!’ in request-cancel test.

	* basic.scm (test:request-cancel): Use a valid rhs expression
	for the ‘UPDATE’ command; drop ‘!’, which does not exist!

2011-06-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.40 (tag v0.40)

2011-06-04  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Add test for double-call to ‘pg-trace’.

	* basic.scm (test:tracing-traced-connection): New test proc.
	(main): Use new test proc; update expected-pass number.

2011-06-04  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Add and distribute test/OK.

	* OK: New file.
	* Makefile.am (EXTRA_DIST): Add OK.

2011-06-02  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Make runtest sanity-check more robust.

	* runtest.in: Don't look for '${prefix}' in ‘@GUILE_LIBSITE@’;
	instead, resolve the dir, whether from env or substitution,
	and check sanity of the result.

2011-05-31  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Avoid ‘return-it’.

	* basic.scm (test:request-cancel): Rephrase w/o ‘return-it’.

2011-05-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[build] Don't chmod +x test/{runtest,show-platform}.

	* Makefile.am (TESTS_ENVIRONMENT): Invoke w/ sh(1).
	* show-platform.in: Update usage comment; nfc.

2011-05-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v int] Use $srcdir in runtest.

	* runtest.in (ts): Delete var;
	in Guile invocation, use ‘$srcdir’ directly.

2011-05-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Don't "manually load" anything.

	* meta.scm: Don't ‘manually-load’ any Guile-PG modules.
	* types-table.scm: Likewise.
	* testing.scm (manually-load): Delete proc.
	* runtest.in (tscm): Delete var.

2011-05-16  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[maint] Instantiate test/show-platform at configure-time.

	* show-platform.in: New file.
	* show-platform: Delete file.

2011-05-16  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Make partial install depend on ../src "make all".

	Omission from 2011-05-14, "Do a partial
	install under test/; point ‘%load-path’ there".

	* Makefile.am (fake-install): Depend on ../src/stamp-all;
	also, delete any previous tree before starting.

2011-05-15  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[build inst] Add support for "no C module" mode.

	* Makefile.am (fake-install): For sub-"make install",
	set makefile variable ‘FOR_MAKE_CHECK’.

2011-05-14  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Do a partial install under test/; point ‘%load-path’ there.

	* Makefile.am (check_DATA): New var.
	(fake-install, clean-local): New targets.
	* runtest.in: Don't set and export env var ‘GUILE_LOAD_PATH’;
	add check for "proper" GUILE_LIBSITE; bail if improper;
	arrange for ‘@GUILE_LIBSITE@’ to expand to the one under
	the ./fake-install; display it if env var ‘DEBUG’ set;
	add ‘-L "@GUILE_LIBSITE@"’ in args to the guile invocation.

2011-05-14  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Allow env var ‘GUILE’ to override that in runtest.

	* runtest.in: Use env var ‘GUILE’ if set, instead of @GUILE@.

2011-05-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[v] Show files loaded if in debug mode.

	* testing.scm: If env var DEBUG set, enable ‘%load-verbosely’.

2010-01-11  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.39 (tag v0.39)

2010-01-11  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Drop procs ‘pg-set-client-data!’, ‘pg-get-client-data’.

	* basic.scm (test:set-client-data, test:get-client-data):
	Eviscerate; simply return, and check for, the symbol ‘defunct’.

2010-01-11  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Drop proc ‘pg-lo-get-connection’.

	* large.scm (test:lo-open-read): Don't call ‘pg-lo-get-connection’.

2009-06-22  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.38 (tag v0.38)

2009-06-22  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Make ‘pg-parameter-status’ accept symbol for PARM.

	* basic.scm (test:parameter-status): Use symbols.
	(test:server-version): Use symbol for ‘pg-parameter-status’ parm.

2009-06-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[test] Make more robust: Normalize ‘pg-client-encoding’ rv.

	* basic.scm (test:various-connection-info):
	Add internal proc to normalize encoding names UNICODE to UTF8,
	ALT to WIN866, WIN to WIN1251, and TCVN to WIN1258.

2009-06-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	New (database postgres) proc: pg-server-version

	* basic.scm (test:server-version): New test proc.
	(main): Use new test proc; update expected-pass number.

2009-06-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[test] Verify length of inserted ‘bytea’ data.

	* types-table.scm (test-m3):
	Check ‘octet_length’ of inserted data.

2009-06-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	[test] Improve ‘pg-set-client-encoding’ coverage.

	* basic.scm (test:various-connection-info): Ensure
	that the new encoding is actually different from the original.

2009-06-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	New (database postgres) proc: pg-mblen

	* basic.scm (test:mblen): New test proc.
	(main): Use new test proc; update expected-pass number.

2008-09-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Use ‘(string-null? foo)’ instead of ‘(string=? "" foo)’.

	* basic.scm (ok?): Use ‘string-null?’.

2008-08-10  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Tighten up "show-platform" a bit.

	* show-platform (recip): Use ‘RECIP’.
	(go): Avoid head(1).  Also, don't report libguile version.

2008-08-04  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Display env var PGHOST for aliveness testing.

	* alive.test: Display env var PGHOST value (or "unset" if #f).

2008-07-15  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Move Scheme code into src/.

	* runtest.in (tscm): Use "$ts/src".

2008-07-15  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Remove ‘pg-get-connection’.

	* basic.scm (test:get-connection): Pass unconditionally.

2008-05-23  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Use absolute dir name to locate test/*.scm.

	* runtest.in (srcdir): Delete var.
	(ts): New var; use in ‘exec’ invocation.
	(tscm): New var, exported.
	* testing.scm (manually-load): Use env var ‘tscm’.

2008-05-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	For "make check", drop result/connection object references when done.

	* testing.scm (d/c): New proc.
	(drop!): Use ‘d/c’.
	(create!): Delete proc.
	(fresh!): New proc.
	* basic.scm: Use ‘fresh!’.
	* large.scm: Use ‘fresh!’
	(main): Use ‘pg-finish’.
	* types-table.scm: Use ‘fresh!’.
	(test-m2): Do ‘(m2 ’finish)'.
	(test-m3): Do ‘(m3 #:finish)’.
	(cleanup!): Do ‘(m #:finish)’.
	* meta.scm: Use ‘fresh!’; reset ‘RES’ and ‘CONN’.

2008-05-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Clean up test environment GUILE_LOAD_PATH value.

	* runtest.in (GUILE_LOAD_PATH): Use @abs_top_builddir@;
	eliminate trailing colon in value.

2008-05-14  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Avoid dropdb(1) and createdb(1); use SQL commands directly.

	* testing.scm (fs): New proc.
	(drop!, create!): Rewrite procs.
	* basic.scm: Move ‘drop!’ and ‘create!’ calls after ‘use-modules’.
	* large.scm: Likewise.
	* types-table.scm: Likewise.
	* meta.scm: Likewise.
	* drop.sh.in: Delete file.
	* create.sh.in: Likewise.

2008-05-14  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Add standard introspection support to (database postgres-meta).

	* meta.scm: New file.
	* Makefile.am (TESTS): Add meta.scm.

2008-05-14  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Revamp "make check".

	* testing.scm (drop!, create!, manually-load): New procs.
	* alive.scm: New file.
	* basic.scm: New file.
	* large.scm: New file.
	* types-table.scm: New file.
	* alive.sh: Delete file; incorporate into alive.scm.
	* basic-tests.sh: Delete file; incorporate into basic.scm.
	* guile-pg-basic-tests.scm: Likewise.
	* lo-tests.sh: Delete file; incorporate into large.scm.
	* guile-pg-lo-tests.scm: Likewise.
	* abstraction-scm-tests.sh: Delete file;
	incorporate into types-table.scm.
	* guile-pg-abstraction-scm-tests.scm: Likewise.
	* runtest.in: New file.
	* Makefile.am (abs_top_builddir): Delete var.
	(TESTS_ENVIRONMENT): Rewrite.
	(TESTS): Rewrite.
	(CLEANFILES): Remove basic-tests.log, lo-tests.log,
	abstraction-scm-tests.log; add $(TESTS:.scm=.log).
	(EXTRA_DIST): Remove guile-pg-basic-tests.scm,
	guile-pg-lo-tests.scm, guile-pg-abstraction-scm-tests.scm.
	* config.scm.in: Delete file.

2008-05-14  Thien-Thi Nguyen  <ttn@gnuvola.org>

	No longer test coverage.

	* coverage.sh, cov: Delete files.
	* Makefile.am (TESTS): Remove coverage.sh.
	(EXTRA_DIST): Remove cov.
	(dist-hook): Delete target.

2008-04-02  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Jam package version in script "show-platform" on "make dist".

	* show-platform (go): For "guile-pg", use placeholder "VERSION".

2008-02-14  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Avoid requiring procs from module (ice-9 regex).

	* guile-pg-basic-tests.scm (test:set-notice-out!-1):
	Use ‘regexp-exec’ and ‘make-regexp’.

2008-02-13  Thien-Thi Nguyen  <ttn@gnuvola.org>

	Release: 0.35 (tag: v0.35)

2008-01-29  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-basic-tests.scm (test:set-notice-out!-1):
	Check by matching against regexp instead of exact string.

2008-01-22  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-basic-tests.scm (make-table!): Specify
	"WITH OIDS" explicitly.  Reported by Greg Troxel.

2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-basic-tests.scm (test:asynchronous-retrieval):
	After sending loop using ‘pg-flush’ until all sent.

2007-10-18  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-basic-tests.scm (test:close): New test proc.
	(main): Use new test proc; update expected-pass number.

2007-05-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm (mtest:any/all--OP): New proc.
	(main): Call it and update expected-count.

2007-05-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm
	(test-m3 check-1): New internal proc.
	(test-m3): Add ‘between’ checks.
	(main): Update expected-count.

2007-05-20  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm (test-m3): Add ‘in/set’ checks.
	(main): Update expected-count.

	* abstraction-scm-tests.sh: Explicitly load postgres-qcons.scm.

2007-05-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm (test-m3): New proc.
	(main): Update expected-count and call ‘mtest-m3’.

2007-05-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm:
	Use "abstrAction" and "abstrActions_2" as table names.

2007-05-19  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm (mgr): New proc.
	Throughout, use it instead of ‘pgtable-manager’.

2007-04-11  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm (test-m2):
	Add check for ‘tuples-result->rows’.
	(main): Update expected-count.

2007-04-03  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* show-platform (recip): Update.

2007-03-17  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm
	(test:query-oid/type-name): New test.
	(main): Update expected-count and call new test.

2007-03-05  Thien-Thi Nguyen  <ttn@gnuvola.org>

	* guile-pg-abstraction-scm-tests.scm (test-m2): Use symbolic
	WHERE clause for tests "m2 delete-rows" and "m2 update-col".

2007-01-29  Thien-Thi Nguyen  <ttn@ambire>

	* guile-pg-lo-tests.scm (test:lo-seek): Use ‘open-output-file’.

2006-04-05  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:asynchronous-retrieval):
	Move nonblocking disabling prior to first ‘pg-putline’.

2006-04-03  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm
	(test:get-copy-data, test:put-copy-data/end): New test procs.
	(main): Use new test procs; update expected-pass number.

2006-04-03  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:asynchronous-retrieval):
	Turn off nonblocking mode right before ‘pg-endcopy’ call.

2006-04-03  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:fnumber-and-friends):
	Rename test from ‘test:fnumber’.  Update unique caller.

2006-04-01  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:parameter-status)
	(test:set-error-verbosity): Use ‘PQPROTOCOLVERSION’.

2006-03-30  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (ok?): If not ok,
	try to find the "sqlstate" and display it.
	(test:known-bad-command): New test proc.
	(main): Use new test proc; update expected-pass number.

2006-03-25  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm:
	Convert "where ..." clauses to ‘#:where EXPR’.
	(main): Enable verbose output.

2006-03-25  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm
	(pass-if): Set procedure's ‘name’ property.
	(sel/check): If tuples not ok, display its error message.

2006-03-25  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:pg-exec-params): New test proc.
	(test:pg-exec-prepared, test:send-query-param-variants): Likewise.
	(main): Use new test procs; update expected-pass number.

2006-03-23  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:set-error-verbosity): New test proc.
	(main): Use new test proc; update expected-pass number.

2006-03-22  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:parameter-status): New test proc.
	(main): Use new test proc; update expected-pass number.

2006-03-22  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:transaction-status): New test proc.
	(main): Use new test proc; update expected-pass number.

2006-03-22  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:asynchronous-retrieval):
	Disable non-blocking before starting.

2006-03-22  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:protocol-version)
	(test:protocol-version/bad-connection): New test procs.
	(main): Use new test procs; update expected-pass number.

2005-08-25  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm (objwalk): Delete data structure.
	(sel/check check-dim): New internal proc. Update callers to use it.
	(sel/check): No longer compute and validate array.
	(test:m-procs, cleanup!): Don't set or clear ‘objwalk’, respectively.
	(test-m2): Simplify 2x2 test into single "m2 is 2x2" test.
	(main): Update expected-pass counts.

2005-08-24  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:request-cancel): New test proc.
	(main): Use new test proc; update expected-pass number.

	* Makefile.am (XFAIL_TESTS): Delete var.

2005-08-24  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm
	(test:asynchronous-notification): New test proc.
	(main): Use new test proc; update expected-pass number.

2005-07-26  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* Makefile.am (abs_top_builddir): New var.
	(TESTS_ENVIRONMENT): Use $(abs_top_builddir).

2005-02-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm (test:m-help): Delete test proc.
	(main): No longer use ‘test:m-help’. Update expected-passes number.

2005-02-15  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm
	(mtest:select-*): Use string for ‘select’ arg.

2005-02-15  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-lo-tests.scm: Use ‘define-macro’.
	* guile-pg-abstraction-scm-tests.scm: Likewise.

2005-02-15  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm:
	No longer use strings for first arg to ‘select’.

2005-01-07  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm
	(test:untracing-untraced-connection): New test proc.
	(main): Use new test proc; update expected-pass number.

2005-01-02  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (ok?):
	Check ‘pg-result-error-message’ return value.

2004-11-25  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:asynchronous-retrieval): Fix bug:
	Move tuple check inside ‘begin’ block.  Also, no longer flush ports.

2004-11-24  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:set-nonblocking!): New test proc.
	(test:is-nonblocking?): Likewise.
	(test:asynchronous-retrieval): Likewise.
	(main): Use new test procs; update expected-pass number.

2004-11-24  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (cexec): Append semicolon to command.
	(test:set-notice-out!-1): Omit semicolon from arg to ‘cexec’.
	(test:set-notice-out!-2): Likewise.

2004-11-23  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* drop.sh.in: Sleep for one second before exit.
	Reported by Greg Troxel for NetBSD.

2004-11-23  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* create.sh.in: When DEBUG=1,
	display createdb command before executing.

2004-11-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* drop.sh.in: Handle DEBUG=1. Handle option ‘--no-worries’.
	* create.sh.in: Handle DEBUG=1.
	* basic-tests.sh: Pass ‘--no-worries’ for first drop.
	* lo-tests.sh: Likewise.
	* abstraction-scm-tests.sh: Likewise.

2004-11-19  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:set-notice-out!-1):
	Also handle output syntax of PostgreSQL 7.4.5.
	Reported by Greg Troxel.

2004-08-03  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm
	(test:getline): Update return value check for ‘pg-endcopy’.
	(test:getlineasync): Likewise.
	(test:putline): Likewise.

2004-08-03  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:set-notice-out!-1): New test proc.
	(test:set-notice-out!-2): Likewise.
	(main): Use new test procs; update expected-pass number.

2004-08-03  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:getlineasync): New test proc.
	(main): Use it; update expected-pass number.

2004-07-03  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* config.scm.in (*VERSION*): Delete var.

2004-06-28  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* Makefile.am: Update copyright.
	* guile-pg-basic-tests.scm: Likewise.
	* guile-pg-lo-tests.scm: Likewise.

2004-06-24  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* alive.sh: No longer load $top_builddir/scm/postgres.scm.
	Instead, evaluate ‘use-modules’ form.

	* basic-tests.sh: No longer load $top_builddir/scm/postgres.scm.
	* lo-tests.sh: Likewise.
	* abstraction-scm-tests.sh: Likewise.

2004-06-24  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm
	(test:oid-value-was-oid-status): Rename from
	‘test:oid-status’.  Convert to check using ‘pg-oid-value’.
	(test:oid-value): Also check that ‘oid’ is a number.
	(main): Use ‘test:oid-value-was-oid-status’.

2004-06-23  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (main):
	No longer check ‘pg-guile-pg-version’.
	* guile-pg-lo-tests.scm (main): Likewise.

2004-06-14  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-lo-tests.scm
	(some-test-data): Make var into a single string.
	(test:make-data): Rewrite.
	(test:lo-export): Update ‘some-test-data’ use site.

2004-06-14  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-lo-tests.scm: Use module (ice-9 rdelim).
	(eval-port): Delete proc.
	(some-test-data): No longer quote sexp.
	(test:lo-open-read): No longer use ‘eval-port’.
	Instead, check values of two calls to ‘read’.

2004-06-14  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* alive.sh: If env var DEBUG is set, call guile with "--debug".
	* basic-tests.sh: Likewise.
	* lo-tests.sh: Likewise.
	* abstraction-scm-tests.sh: Likewise.

2004-03-22  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* basic-tests.sh: Use $srcdir.
	* lo-tests.sh: Likewise.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-lo-tests.scm (test:lo-unlink): New test proc.
	(main): Test w/ new proc. Increment test count.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm
	(tuples-ok?): Also check ‘pg-binary-tuples?’.
	(getvalues, gettuple): Delete unused procs.
	(test:pg-guile-pg-loaded): New test proc.
	(main): Use new test proc to replace
	raw ‘pg-guile-pg-loaded’ test.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (count-records): Fix typo.
	(test:ftypes): Rename to ‘test:fmod+ftypes’.
	Add ‘pg-fmod’ checks for each field.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* alive.sh: Add env check.
	* coverage.sh: Likewise.

	* abstraction-scm-tests.sh: Add env check.
	Use drop.sh and create.sh.
	(PGDATABASE): Delete var.
	* basic-tests.sh: Likewise.
	* lo-tests.sh: Likewise.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* Makefile.am (TESTS_ENVIRONMENT): Add PGDATABASE var. Append $(SHELL).

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* create.sh.in: New file.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* drop.sh.in: Check for PGDATABASE env var. Use it instead of $1.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* drop.sh.in: New file.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (test:various-connection-info): New proc.
	(main): Test using new proc. Increment test count.

2004-03-21  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* testing.scm (test): Use procedure name in report, if available.

2004-03-20  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* Makefile.am (XFAIL_TESTS): New var/directive.

2004-03-20  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm (main):
	New proc. Call it from top-level.

2004-03-20  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm:
	Use new procs in testing.scm.
	Rename procs to avoid "pg-" prefix.
	Rename some top-level vars for legibility.

	* guile-pg-lo-tests.scm: Likewise.
	Also, no longer use diff(1) to check invariance;
	instead, compare character-by-character.

	* config.scm.in (*DIFF-PATH*): Delete var.

2004-03-20  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* testing.scm (*all-tests*): New var.
	(reset-all-tests!): New proc.
	(add-test, test-one!, test!): Likewise.

2004-03-19  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm:
	(test:pg-error-message): New proc.
	(main): Add test using new proc.

2004-03-19  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm:
	(test:pg-conndefaults): New proc.
	(main): New proc. Call it from top-level.

2004-03-19  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* coverage.sh: New file.
	* Makefile.am: Update copyright.
	(TESTS): Add coverage.sh.

2004-02-09  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* show-platform (go): Omit ‘uname -p’ and ‘uname -v’ output.
	(gosexp): New func. Use it for mailing intead of ‘go’.

2004-02-09  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* show-platform (go): Invoke uname separately w/
	opts -m, -s, -r, -p, -v; one per line.
	Also, for libtool version, keep only the first line.

2004-01-31  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm: For ‘m2’,
	also test ‘tuples-result->object-alist’.

2004-01-31  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* testing.scm: Update copyright.
	(test-report): Return #f on count mismatch,
	non-zero ‘xpass-count’, or non-zero ‘fail-count’.

	* guile-pg-lo-tests.scm: Update copyright.
	Use ‘test-report’ return value as exit value.
	* guile-pg-basic-tests.scm: Likewise.
	* guile-pg-abstraction-scm-tests.scm: Likewise.

2004-01-24  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* show-platform (go): Also include guile-pg version.

2004-01-16  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-lo-tests.scm: Update copyright.
	(eval-port): Use ‘eval-in-module’ instead of naked ‘eval’.

2003-11-27  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* Makefile.am (TESTS_ENVIRONMENT): Also define var ‘GUILE’.

2003-11-26  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm (result->output-string): New proc.
	(test:count-records): Also do a manual line count to check backend
	count as well as exercise ‘pg-print’ via ‘result->output-string’.

2003-08-12  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* Makefile.am (EXTRA_DIST): Add show-platform.

2003-08-12  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-abstraction-scm-tests.scm
	(mtest:select-*-error_condition): Handle array output
	representation for cases both prior to, as well as, starting from,
	PostgreSQL 7.2.
	(mtest:select-*-read, mtest:select-count): Likewise.

2003-08-12  Thien-Thi Nguyen  <ttn@surf.glug.org>

	* guile-pg-basic-tests.scm, guile-pg-lo-tests.scm:
	Separate author and copyright comments; nfc.

2003-01-14  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* abstraction-scm-tests.sh: Also
	load $top_srcdir/scm/postgres-col-defs.scm
	and $top_srcdir/scm/postgres-resx.scm.

2003-01-05  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* guile-pg-basic-tests.scm (test:make-connection):
	Also test using ‘pg-connection?’.

2002-12-29  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* config.scm.in: New file.

	* basic-tests.sh: Also load config.scm.
	* lo-tests.sh: Likewise.
	* abstraction-scm-tests: Likewise.

	* guile-pg-abstraction-scm-tests.scm:
	Look for testing.scm in ‘*srcdir*’.

	* guile-pg-basic-tests.scm: New file converted from .in file.
	* guile-pg-lo-tests.scm: Likewise.

	* guile-pg-basic-tests.scm.in: Delete.
	* guile-pg-lo-tests.scm.in: Likewise.

	* Makefile.am (EXTRA_DIST): Add guile-pg-basic-tests.scm
	and guile-pg-lo-tests.scm.

	* cov: Update grep target.

2002-12-27  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* Makefile.am (TESTS_ENVIRONMENT): Add ‘top_srcdir’ and ‘srcdir’.

	* abstraction-scm-tests.sh:
	Look for guile-pg-abstraction-scm-tests.scm under $srcdir.
	Look for postgres-types.scm and postgres-table.scm under $top_srcdir.

2002-12-25  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* guile-pg-basic-tests.scm.in (run-cmd): Also use ‘pg-result?’.

2002-12-23  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* cov: Use "PG_DEFINE" instead of "SCM_PROC".

2002-12-20  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* abstraction-scm-tests.sh: New file.
	* guile-pg-abstraction-scm-tests.scm: New file.

	* Makefile.am (TESTS): Add abstraction-scm-tests.sh.
	(CLEANFILES): Add abstraction-scm-tests.log.
	(EXTRA_DIST): Remove alive.sh, basic-tests.sh, lo-tests.sh,
	guile-pg-basic-tests.scm.in, guile-pg-lo-tests.scm.in.
	Add $(TESTS) and guile-pg-abstraction-scm-tests.scm.
	(DISTCLEANFILES): Delete directive.

2002-12-18  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* alive.sh: Use guile exit val for script exit val.
	* basic-tests.sh: Likewise.
	* lo-tests.sh: Likewise.

2002-12-18  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* guile-pg-lo-tests.scm.in: Look for testing.scm in @srcdir@.
	* guile-pg-basic-tests.scm.in: Likewise.

2002-12-17  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* Makefile.am (EXTRA_DIST): Add cov.

2002-12-17  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* Makefile.am (dist-hook): New directive.

2002-12-14  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* guile-pg-lo-tests.scm.in (test:lo-tell): Also check
	equivalency of "seek 0 SEEK_CUR".

2002-12-14  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* guile-pg-lo-tests.scm.in (test:lo-tell): New proc, run by ‘test’.
	(test:make-connection): Use ‘->bool’ instead of ‘if’.
	(test:lo-open-read): Also test ‘pg-lo-get-connection’.

2002-12-13  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* cov: New maintenance script.

2002-12-13  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* guile-pg-lo-tests.scm.in: Delete files "lo-tests-data-1"
	and "lo-tests-data-2" when done.

2002-12-13  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* guile-pg-lo-tests.scm.in, guile-pg-basic-tests.scm.in:
	Rework "if" constructs using "and".  Refill.

2002-12-11  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* basic-tests.sh, lo-tests.sh: Use dropdb if available,
	otherwise destroydb.
	No longer user guile-pg interpreter; instead use guile directly.

	* guile-pg-basic-tests.scm.in, guile-pg-lo-tests.scm.in:
	Update copyright.
	Use module (database postgres).
	Convert PGRES_foo references to symbols.

	* Makefile.am: Update copyright.
	(TESTS, EXTRA_DIST): Add alive.sh.
	(TESTS_ENVIRONMENT): New directive.

	* alive.sh: New file.

2002-12-05  Thien-Thi Nguyen  <ttn@giblet.glug.org>

	* Makefile.in: Delete.

2000-06-15  Ian Grant  <Ian.Grant@cl.cam.ac.uk>

	* guile-pg-basic-tests.scm.in: Added pg-oid-value function.

1999-01-24  Ian Grant  <Ian.Grant@cl.cam.ac.uk>

	* guile-pg-basic-tests.scm: New file. Uses testing.scm in the
	  same directory.

	* guile-pg-lo-tests.scm: New file. Uses testing.scm in the
	  same directory.


Copyright (C) 2010-2015, 2017-2021 Thien-Thi Nguyen

Copying and distribution of this file, with or without modification,
are permitted provided the copyright notice and this notice are preserved.
