Tk Library Source Code

View Ticket
Login
Ticket UUID: 899204
Title: inifile test suite failures
Type: Bug Version: None
Submitter: dgp Created on: 2004-02-17 23:46:07
Subsystem: inifile Assigned To: afaupell
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-03-07 14:27:10
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2004-03-07 07:27:10
Description:
The inifile.test depends on the
file test.ini being writable. 
However, in the official tcllib
release, that file is read-only,
causing the tests to fail.
Is writability really needed?
If not, the test should be modified
to use mode r, instead of r+.

Also, as written, tests
inifile-1.2 through initfile-1.14
depend on inifile-1.1 having
run successfully.  This kind
of inter-test dependency should
be removed, since -skip options,
etc. to tcltest mean there's no
guarantee what tests will actually
run.
User Comments: andreas_kupries added on 2004-03-07 14:27:10:
Logged In: YES 
user_id=75003

Rewrote testsuite to use mode 'r', and to have independent
tests. Committed to CVS head.