[qmtest] ShellScriptTest under Windows?
Scott Lowrey
slowrey at nextone.com
Thu Feb 12 21:16:06 UTC 2004
Andrew Funk wrote:
>Hi,
>
>Are ShellScriptTests supported under Windows?
>
>
The shell script test is the same as the command test (which simply runs
an executable) except the name of a shell is prepended to the contents
of the script. From the book:
QMTest determines which shell to use by the following method:
- If the context contains the property
'ShellScriptTest.script_shell', its value is split into an
argument list and used.
- Otherwise, if the '.qmrc' configuration file contains the common
property 'script_shell', its value is split into an argument
list and used.
- Otherwise, the default shell for the target system is used.
So, unless you point your script_shell variable to Cygwin or some other
Windows rendition of a Unix shell, I'm guessing your script would get
tossed to the Windows 'cmd' (DOS) shell... where it would crash and
burn. (Unless you entered a valid DOS script?)
--
*Scott Lowrey*
NexTone Communications
Germantown, Maryland
/(240)912-1369/
NexTone.com <http://nextone.com>
More information about the qmtest
mailing list