[qmtest] bug report: command-line arguments not passed to executable file

Mark Mitchell mark at codesourcery.com
Wed Jan 16 03:31:33 UTC 2002



--On Monday, January 14, 2002 04:16:36 PM -0600 Stephen Huntley 
<stephen.huntley at stellent.com> wrote:

>
> 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.

I have not been able to replicate this problem.  Would you mind sending
me the contents of your test database as a ZIP or tar file?

Thank you,

-- 
Mark Mitchell                mark at codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the qmtest mailing list