Hi ,
            I have a problem in STAF.
when I run a command on linux machine using staf from windows and expect '0' as 
the output of a command, I am getting Data:0 but response code is 1.
[The command without staf is running fine on linux machine]
Command is :
Staf linuxmachinename process start shell command "(cd 
/crawls/gnipjob/gerbil_old/jobs/brighthand/output/ && exec zcat *.gz | grep '&' 
-c)"
[This command is just trying to find ' &'  in the output file]
                        If the expected output is more than 0 , then response 
code is 0.
If Expected output is 0 [if '&' does not exist in the log file]
I am getting return as:

Response
--------
{
  Return Code: 1
  Key        : <None>
  Files      : [
    {
      Return Code: 0
      Data       : 0

    }
  ]
}
Help appreciated

Regards,
Monika

Sr. Quality Assurance Engineer
Scripting Test Automation is my Art Form......

[cid:image001.gif@01CB009D.19945C90]<http://www.ca.com/>

<<inline: image002.gif>>

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to