head	1.31;
access;
symbols
	tcllib-1-13:1.31
	tcllib-1-12:1.26
	tklib-0-5:1.23
	tcllib-1-11-1:1.23
	tcllib-1-11:1.23
	tcllib-1-10:1.22
	tcllib-1-9:1.17
	tcllib-1-8:1.5
	tcllib-1-7:1.3
	tcllib-1-6-1:1.3
	tcllib-1-6-branch:1.3.0.2
	tcllib-1-6:1.3
	tcllib-1-4-0:1.3;
locks; strict;
comment	@# @;


1.31
date	2011.01.21.04.46.29;	author andreas_kupries;	state Exp;
branches;
next	1.30;

1.30
date	2011.01.13.02.44.04;	author andreas_kupries;	state Exp;
branches;
next	1.29;

1.29
date	2011.01.13.02.42.55;	author andreas_kupries;	state Exp;
branches;
next	1.28;

1.28
date	2010.09.15.20.04.34;	author andreas_kupries;	state Exp;
branches;
next	1.27;

1.27
date	2010.03.13.07.01.31;	author andreas_kupries;	state Exp;
branches;
next	1.26;

1.26
date	2009.09.24.22.15.07;	author andreas_kupries;	state Exp;
branches;
next	1.25;

1.25
date	2009.04.13.22.00.16;	author andreas_kupries;	state Exp;
branches;
next	1.24;

1.24
date	2009.04.10.23.44.02;	author andreas_kupries;	state Exp;
branches;
next	1.23;

1.23
date	2008.09.20.11.33.00;	author mic42;	state Exp;
branches;
next	1.22;

1.22
date	2007.04.30.22.46.09;	author andreas_kupries;	state Exp;
branches;
next	1.21;

1.21
date	2007.04.12.03.37.37;	author andreas_kupries;	state Exp;
branches;
next	1.20;

1.20
date	2007.04.12.02.47.34;	author andreas_kupries;	state Exp;
branches;
next	1.19;

1.19
date	2006.10.13.05.34.40;	author andreas_kupries;	state Exp;
branches;
next	1.18;

1.18
date	2006.10.09.15.23.06;	author andreas_kupries;	state Exp;
branches;
next	1.17;

1.17
date	2006.09.28.07.51.24;	author andreas_kupries;	state Exp;
branches;
next	1.16;

1.16
date	2006.09.17.07.15.42;	author andreas_kupries;	state Exp;
branches;
next	1.15;

1.15
date	2006.09.15.05.58.22;	author andreas_kupries;	state Exp;
branches;
next	1.14;

1.14
date	2006.09.14.06.23.26;	author andreas_kupries;	state Exp;
branches;
next	1.13;

1.13
date	2006.04.06.03.28.37;	author andreas_kupries;	state Exp;
branches;
next	1.12;

1.12
date	2006.01.29.05.56.00;	author andreas_kupries;	state Exp;
branches;
next	1.11;

1.11
date	2006.01.29.02.09.43;	author andreas_kupries;	state Exp;
branches;
next	1.10;

1.10
date	2006.01.24.05.06.58;	author andreas_kupries;	state Exp;
branches;
next	1.9;

1.9
date	2006.01.23.06.38.31;	author andreas_kupries;	state Exp;
branches;
next	1.8;

1.8
date	2006.01.22.20.27.05;	author andreas_kupries;	state Exp;
branches;
next	1.7;

1.7
date	2006.01.22.00.27.22;	author andreas_kupries;	state Exp;
branches;
next	1.6;

1.6
date	2006.01.20.04.03.40;	author andreas_kupries;	state Exp;
branches;
next	1.5;

1.5
date	2004.10.20.04.57.34;	author andreas_kupries;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.20.03.55.03;	author andreas_kupries;	state Exp;
branches;
next	1.3;

1.3
date	2003.05.06.04.56.09;	author andreas_kupries;	state Exp;
branches;
next	1.2;

1.2
date	2003.05.02.07.42.06;	author andreas_kupries;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.09.18.34.44;	author andreas_kupries;	state Exp;
branches;
next	;


desc
@@


1.31
log
@
	* testutilities.tcl (useTcllibC): Account for the possibility of
	  the environment providing a tcllibc, instead of a Tcllib local
	  one.
@
text
@2011-01-20  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl (useTcllibC): Account for the possibility of
	  the environment providing a tcllibc, instead of a Tcllib local
	  one.

2011-01-12  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl (snitTooManyArgs): Fixed error messages for
	  snit 1.x series.

2010-09-15  Andreas Kupries  <andreask@@activestate.com>

	* testutilities.tcl: [Bug 3066026]: Moved the tcltest
	compatibility initialization into a procedure (InitializeTcltest)
	which is called by testNeedsTcltest and a few other places to be
	done only after we are sure that the tcltest package is present.

2010-03-12  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Added constraint for 8.4-.

2009-09-24  Andreas Kupries  <andreask@@activestate.com>

	* testutilities.tcl: Added constraint for 8.6+.

2009-04-13  Andreas Kupries  <andreask@@activestate.com>

	* dialog.tcl: Extended to allow dialog over a socket secured by
	  SSL (via package tls).

2009-04-10  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* ca.crt: New files, SSL/TLS certificates for use in testsuites.
	* ca.key: ca.* = Tcllib Certification Authority
	* ca.key.password: Receiver, Transmitter = Certificates for two
	* receiver.crt: sides of a communication channel.
	* receiver.key:
	* transmitter.crt:
	* transmitter.key:

	* README: Acknowledgement added for the SimpleCA software used to
	  create the certificates.

2008-09-20  Michael Schlenker <mic42@@users.sourceforge.net>

	* testutitlites.tcl: Added wrong num args error messages for
	  Tcl 8.6 alphas, to make tests pass.

2007-04-30  Andreas Kupries  <andreask@@activestate.com>

	* testutilities.tcl: Made TestFiles 8.2-ready. Added command
	  'TestFilesGlob' to simply return files instead of immediately
	  sourcing them.

2007-04-11  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Added 'TestFiles', a command to run a set of
	  subordinate test files, found by globbing.

	* testutilities.tcl: Added 'useAccel' to help with the setup of
	  packages which have accelerators, automatically using the proper
	  use variant.

2006-10-11  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Extended with three commands to make testing
	  of packages with multiple implementations (accelerators)
	  easier. A specific API for querying and manipulating
	  accelerators is assumed.

2006-10-08  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Changed variable definitions to shield
	  against creative writing. Added common code to save and restore
	  the environment (::env), for testsuites which have to (1) either
	  modify it as part of the tests, or (2) shield themselves against
	  manipulation from the environment.

2006-09-28  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* dialog.tcl: Bugfix in 'Input', cleaning up the waiting timer
	  when reaching eof on the socket. Could otherwise trigger
	  while executing an unrelated future dialog. Extended to manage
	  two traces, the new one a condensed form of the existing trace,
	  easier to put into the result of a testcase.

	* coserv.tcl: Reworked a bit to allow the restart of a server
	  after a shutdown, by recreating the helper file executed by the
	  slave-process.

2006-09-17  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Modified use commands to ensure that their
	  output is a proper list.

2006-09-14  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Added commands constructing wrong#args
	  messages for snit methods, depending on snit version.

2006-09-13  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Ensure that the makeFile/Dir wrapper are
	  created only once. Also modified the code to modify the
	  originals to return the full name. The wrapper are needed only
	  as indicators.

2006-04-05  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Added set of commands for the easy assembly
	  of complex results. Mainly a shorthand for 'lappend', using a
	  common variable.

2006-01-28  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Force re-import of tcltest commands after
	  changes made by the support system. Added code forcing a useful
	  result value of makeFile/makeDirectory even for Tcltest 1.x
	  (path created instead of list of all paths). Command for the
	  creation of a binary temp. file, and a command to return the
	  path of temp files without us having to create them.

	* coserv.tcl: Fixed usage of temp. files by comm server.

	* coserv.tcl: Fixed output for a better fit with the other test
	* dialog.tcl: support.

2006-01-23  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Added variants of the use commands which keep
	  the relevant namespace. Sometimes necessary to prevent
	  destruction of support code loaded first.

2006-01-22  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Added commands for the loading of files and
	  packages from the Tcllib under test. This will reduce the amount
	  of boilerplate in a .test file spent on getting the package
	  under test, its supporting packages, and other helper files.

	  Added helpers for dealing with loading "tcllibc" package and
	  packages using it.

2006-01-21  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: Moved the definitions of the common
	  constraints out of the toplevel "all.tcl" into the test support
	  code.

2006-01-18  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* testutilities.tcl: New file for boilerplate code and common
	  commands used by most to all testsuites in Tcllib.

2005-10-06  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.8 ========================
	*

2004-10-19  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* dialog.tcl: More log output for better tracing of the
	  internals. Especially added trace when receiving an incomplete
	  line while waiting for data from the peer. Added code to clean
	  up old connections, prevent leakage of channel handles.

2004-10-12  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* muserv.tcl:  Removed the old facilities for sub processes
	* musub.tcl:   and programmed interactions. They have been
	* subserv.tcl: superceded by the code below.

	* coserv.tcl: New sub process mgmt based on "comm".
	* dialog.tcl: New code for programmed dialogs based on
	  "coserv.tcl".

2004-10-05  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.7 ========================
	*

2004-05-23  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.6.1 ========================
	*

2004-02-15  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.6 ========================
	*

2003-05-05  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.4 ========================
	*

2003-05-01  Andreas Kupries  <andreask@@activestate.com>

	* subserv.tcl (muserv): Propagate the auto_path into the
	  subprocess so that it is able to find all packages the server
	  might require. Without that the server will need an installed
	  tcllib, for example. This fixes a hang in the pop3 testsuite
	  when tcllib is not installed.

2003-04-09  Andreas Kupries  <andreask@@activestate.com>

	* New module.
	* First contents are support for sub-processes in testsuites.
@


1.30
log
@Fixed typo in ChangeLog
@
text
@d1 6
@


1.29
log
@
	* testutilities.tcl (snitTooManyArgs): Fixed error messages for
	  snit 1.x series.
@
text
@d1 1
a1 1
2011-01-12  Andreas Kupries  <akupries@@shaw.ca>
@


1.28
log
@
	* testutilities.tcl: [Bug 3066026]: Moved the tcltest
	compatibility initialization into a procedure (InitializeTcltest)
	which is called by testNeedsTcltest and a few other places to be
	done only after we are sure that the tcltest package is present.
@
text
@d1 5
@


1.27
log
@
	* testutilities.tcl: Added constraint for 8.4-.
@
text
@d1 7
@


1.26
log
@
	* testutilities.tcl: Added constraint for 8.6+.
@
text
@d1 4
@


1.25
log
@
	* dialog.tcl: Extended to allow dialog over a socket secured by
	  SSL (via package tls).
@
text
@d1 4
@


1.24
log
@
	* ca.crt: New files, SSL/TLS certificates for use in testsuites.
	* ca.key: ca.* = Tcllib Certification Authority
	* ca.key.password: Receiver, Transmitter = Certificates for two
	* receiver.crt: sides of a communication channel.
	* receiver.key:
	* transmitter.crt:
	* transmitter.key:

	* README: Acknowledgement added for the SimpleCA software used to
	  create the certificates.
@
text
@d1 5
@


1.23
log
@Added error messages for Tcl 8.6
@
text
@d1 13
@


1.22
log
@
	* testutilities.tcl: Made TestFiles 8.2-ready. Added command
	  'TestFilesGlob' to simply return files instead of immediately
	  sourcing them.
@
text
@d1 5
@


1.21
log
@
	* testutilities.tcl: Added 'TestFiles', a command to run a set of
	  subordinate test files, found by globbing.
@
text
@d1 6
@


1.20
log
@
	* testutilities.tcl: Added 'useAccel' to help with the setup of
	  packages which have accelerators, automatically using the proper
	  use variant.
@
text
@d3 3
d105 1
a105 1
	* 
d128 1
a128 1
	* 
d134 1
a134 1
	* 
d140 1
a140 1
	* 
d146 1
a146 1
	* 
d158 1
a158 1
	* New module. 
@


1.19
log
@
	* testutilities.tcl: Extended with three commands to make testing
	  of packages with multiple implementations (accelerators)
	  easier. A specific API for querying and manipulating
	  accelerators is assumed.
@
text
@d1 6
@


1.18
log
@Centralized the boilerplate for saving/restoring the environment, and
updated the test suites which used the old code to handle the environment.
@
text
@d1 7
@


1.17
log
@
	* dialog.tcl: Bugfix in 'Input', cleaning up the waiting timer
	  when reaching eof on the socket. Could otherwise trigger
	  while executing an unrelated future dialog. Extended to manage
	  two traces, the new one a condensed form of the existing trace,
	  easier to put into the result of a testcase.

	* coserv.tcl: Reworked a bit to allow the restart of a server
	  after a shutdown, by recreating the helper file executed by the
	  slave-process.
@
text
@d1 8
@


1.16
log
@
	* testutilities.tcl: Modified use commands to ensure that their
	  output is a proper list.
@
text
@d1 12
@


1.15
log
@
	* testutilities.tcl: Added commands constructing wrong#args
	  messages for snit methods, depending on snit version.
@
text
@d1 5
@


1.14
log
@
	* testutilities.tcl: Ensure that the makeFile/Dir wrapper are
	  created only once. Also modified the code to modify the
	  originals to return the full name. The wrapper are needed only
	  as indicators.
@
text
@d1 6
a6 1
2006-09-13  Andreas Kupries  <akupries@@shaw.ca>
@


1.13
log
@Added shorthand commands for easy assembly of complex
results.

Added output for when testsuite setup (support, testing)
fails. We have to see such problems.
@
text
@d1 7
@


1.12
log
@Extended the functionality for creation of binary temp.
files, getting proper paths for temp files, useful standard
result of make{File,Directory} across versions, proper
reimport of tcltest commands after changes.
@
text
@d1 6
@


1.11
log
@Fixed usage of temp. files in testsuites, also fixed use of
duplicate test names.
@
text
@d3 7
@


1.10
log
@More util commands for test support.

Simplified the testsuite boilerplate in the packages
"[d-h]*", using the new commands in the test support.
@
text
@d1 8
a8 1
2006-01-23  Andreas Kupries  <akupries@@shaw.ca>
@


1.9
log
@Added more helpers to the common test support, for dealing
with 'tcllibc', and packages which can use it.

Simplified the testsuite boilerplate in the packages
"[a-c]*", using the new commands in the test support.
@
text
@d1 6
@


1.8
log
@Extended test support code with commands for the loading of
packages and files from the Tcllib under test, and module
under test.

Removed some 8.4'isms out of the csv testsuite, the package
under test works for 8.3+.

Removed comon test constrants from 'all.tcl', ditto
'wrongNumArgs' and 'tooManyArgs' emulations. This is now all
in the common test support code.
@
text
@d8 3
@


1.7
log
@Removed comon test constrants from 'all.tcl', ditto
'wrongNumArgs' and 'tooManyArgs' emulations. This is now all
in the common test support code.

Put common test constraints into the common test support
code.

Fixed expected errorCode in math-7.4

Replaced 'queryConstraint' with regular 'testConstraint'.

Removed more copies of the common command "dictsort".

Hooked the "[s-z]*" packages into the new common test
support code.

Hooked the "[m-r]*" packages into the new common test
support code.

Updated Tcl dependency information for logger::utilities,
requires 8.4 due to use of new trace APIs.

Hooked the "[hijkl]*" packages into the new common test
support code.

Hooked the "[efg]*" packages into the new common test
support code.

Hooked the "[cd]*" packages into the new common test support
code.



Fixed usage of 8.4isms in package declared to work for 8.2+.

Better emulation of testConstraint command, with query
ability.

Hooked all "[ab]*" packages into the new test support code.

Fixed reversed guard conditions, and polished the error
messages a bit.
@
text
@d1 7
@


1.6
log
@Fixed reversed guard conditions, and polished the error
messages a bit.

New file for boilerplate code and common commands used by
most to all testsuites in Tcllib.

Import of fixes to fileutil::find documentation.
@
text
@d1 7
a7 1
2006-01-18  Andreas Kupries  <akupries@@shaw.ca>
@


1.5
log
@Import of devtools deletions.

Enhanced testsuite with better tracing, made pop3d logging
more consistent, added code to prevent leakage of old
channels.

Merging imported ChangeLogs.
@
text
@d1 11
d29 18
@


1.4
log
@Merging imported ChangeLogs.

Imported dns bugfix for [Tcllib SF Bug 1018934].

New example for htmlparse, by Pat.

Removed old cruft used by tyhe testsuite in the very
beginnings. Now two generations too old.

Manual merge changelog.

Removed old code for sub processes and programmed
interactions.

Testsuite rewritten to use the new facilities for programmed
interaction and sub processes.

New code for mgmt of subprocesses and serial interactions
with servers and clients, i.e. the generation of fake
servers and fake clients.

Better hiding when Tk is used by the tests. Also more info
about test environment (shell in use).

Capitalized the USER and PASS commands. Now every command on
the wire is fully capitalized.

Bump version to differentiate CVS from release.
@
text
@d1 7
@


1.3
log
@
	*
	* Released and tagged Tcllib 1.4 ========================
	*
@
text
@d1 10
@


1.2
log
@
	* pop3d.test: Added propagation of auto_path so that
	  sub-processes are able to find additional packages even if
	  tcllib is not installed.

	* ncgi.test: Fixed all the tests which use a sub-process. The
	  auto_path was not propagated, causing the sub-process to require
	  an installed tcllib for correct operation (i.e. to find the
	  other packages ncgi depends on, like fileutil). also changed the
	  test prolog to match the other testsuites.

	* subserv.tcl (muserv): Propagate the auto_path into the
	  subprocess so that it is able to find all packages the server
	  might require. Without that the server will need an installed
	  tcllib, for example. This fixes a hang in the pop3 testsuite
	  when tcllib is not installed.

	* pop3.test: Creating the name of the file containing the fake
	  server only once. Because the tcltest 1.0 [makeFile] coming with
	  Tcl 8.2 will return the fully generated name only once, and not
	  everytime it is called.
@
text
@d1 6
@


1.1
log
@
	* New module: devtools. Internal use only for now. Does not
	  contain true packages.

	* First contents are support for sub-processes in testsuites.
@
text
@d1 8
@

