#Goodbye Cruel World - Test Case

#Dummy Application
#

#This test case should be useful as a proof of concept of the Arges system


commandLine("python ""-j"" -V", ${rand_version}) | warning 
#test the "" parsing

commandLine(python -V, Python 2.5.1) | warning 
#check Python version

${PYTHON_VERSION} = 1.2.3

commandLine(python -V,${PYTHON_VERSION}) | warning 
#check Python version

commandLine(python -h -V,PYTHONHOME) | warning 
#check Python
${rand_version} = random_number(0,1000) | fatal 
#get random number

commandLine(python -V,${rand_version}) | warning 
#check Python version with the random number

commandLine(java -version, java version "1.5.0") | warning 
#check Java version

${rand_version} = random_number_padding(4,0) | fatal 
#get random number
commandLine(python -V, ${rand_version}) | warning #check Python version with the random number
${rand_version} = ${cmd}(100,300) | fatal #get a random number parametrizing the command name
commandLine(python -V, ${rand_version}) | warning #check Python version with the random number

