bug report: command-line arguments not passed to executable file
Stephen Huntley
stephen.huntley at stellent.com
Mon Jan 14 22:16:36 UTC 2002
Win2k, python 2.1.1, qmtest gui
I created a test of class command.ExecTest, assigned a program name of
test.tcl, a single command line argument "a", and expected exit code of
0.
The body of the program test.tcl is:
set f [open test.txt w]
puts $f $argv0
puts $f $argv
close $f
exit 1
This should simply write out the command line arguments to test.txt and
exit with exit status 1. That is, the test should always fail as far as
qmtest is concerned.
When I run the test, qmtest reports that the test passes. When I
examine test.txt I find only the path to the script (argv0) written out;
the command line argument "a" doesn't make it.
It appears that qmtest ignores the exit status output at program
termination, as well as not passing the command-line arguments
specified.
I believe this will conclude my evaluation of the current release of
qmtest. It seems to be unusable in its present state.
Sincerely,
Steve Huntley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20020114/d9f49739/attachment.html>
More information about the qmtest
mailing list