[qmtest] ShellScriptTest under Windows?
Mark Mitchell
mark at codesourcery.com
Fri Feb 13 16:40:21 UTC 2004
Andrew Funk wrote:
>Hi guys,
>
>Thanks for the advice. From what you both have said, it sounds like I
>may want to go with a Python test class. Since I need Python to run
>QMTest anyway, that seems like a reasonable approach.
>
>Not to beat a dead horse, but I just want to make sure I understand
>something. I understand that I can't expect any arbitrary Unix shell
>script to run under Windows, but I think the one I used for a test "echo
>Hello World!" should work on both, no? I guess what I'm asking is, is
>there any possible ShellScriptTest that would work under Windows?
>
>
>
Oh, I think I see what you're asking.
You're complaining that the "echo hi" didn't seem to have been passed to
the shell at all!
That's certainly a valid complaint, if true; the ShellScriptTest should
pass its input to the Windows command shell and capture the output, and
if the input were a valid batch file, it should run. If that's what
you're saying, would you please send me the .qmt file for the failing
test and we'll see if we can reproduce it.
Thanks!
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark at codesourcery.com
More information about the qmtest
mailing list