2 new revisions:

Revision: a6aa079a62aa
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Mon Jul 29 09:09:57 2013
Log:      Compare as integers in tests
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=a6aa079a62aa

Revision: ac2d7550c452
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Mon Jul 29 09:10:20 2013
Log:      Fixed wrapping
http://code.google.com/p/robotframework-sshlibrary/source/detail?r=ac2d7550c452

==============================================================================
Revision: a6aa079a62aa
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Mon Jul 29 09:09:57 2013
Log:      Compare as integers in tests

http://code.google.com/p/robotframework-sshlibrary/source/detail?r=a6aa079a62aa

Modified:
 /atest/execute_command.txt
 /atest/start_command.txt

=======================================
--- /atest/execute_command.txt  Mon Jul 29 07:54:04 2013
+++ /atest/execute_command.txt  Mon Jul 29 09:09:57 2013
@@ -15,15 +15,15 @@
     Should Be Equal  ${stderr}  This is stderr

 Execute Command And Return Rc
- ${rc} = Execute Command ./${TEST SCRIPT NAME} return_stdout=${FALSE} return_rc=${true}
-    Should Be Equal  ${rc}  ${0}
+ ${rc} = Execute Command ./${TEST SCRIPT NAME} return_stdout=${FALSE} return_rc=${true}
+    Should Be Equal As Integers  ${rc}  0

 Execute Command And Return All Values
     ${stdout}    ${stderr}    ${rc}=
     ...    Execute Command   ./${TEST SCRIPT NAME}    foo    bar    baz
     Should Be Equal  ${stdout}  This is stdout
     Should Be Equal  ${stderr}  This is stderr
-    Should Be Equal  ${rc}  ${0}
+    Should Be Equal As Integers  ${rc}  0

 Execute Command With Legacy Stdout Config
     ${stdout} =  Execute Command  ./${TEST SCRIPT NAME}  STDout
=======================================
--- /atest/start_command.txt    Mon Jul 29 07:41:27 2013
+++ /atest/start_command.txt    Mon Jul 29 09:09:57 2013
@@ -12,8 +12,8 @@

 Start Command And Read Only Return Code
     Start Command  ./${TEST SCRIPT NAME}
-    ${rc} =  Read Command Output    return_stdout=${EMPTY}    return_rc=joo
-    Should Be Equal  ${rc}  ${0}
+    ${rc} =  Read Command Output    return_stdout=${EMPTY}   return_rc=yes
+    Should Be Equal As Integers  ${rc}  0

 Start Command And Execute Command
     Start Command  ./${TEST SCRIPT NAME}

==============================================================================
Revision: ac2d7550c452
Author:   Anssi Syrjäsalo <anssi.syrjas...@eficode.com>
Date:     Mon Jul 29 09:10:20 2013
Log:      Fixed wrapping

http://code.google.com/p/robotframework-sshlibrary/source/detail?r=ac2d7550c452

Modified:
 /atest/execute_command.txt

=======================================
--- /atest/execute_command.txt  Mon Jul 29 09:09:57 2013
+++ /atest/execute_command.txt  Mon Jul 29 09:10:20 2013
@@ -11,7 +11,7 @@
     Should Be Equal  ${stdout}  This is stdout

 Execute Command And Return Stderr
- ${stderr} = Execute Command ./${TEST SCRIPT NAME} \ return_stderr=yes + ${stderr} = Execute Command ./${TEST SCRIPT NAME} return_stdout=${FALSE} return_stderr=yes
     Should Be Equal  ${stderr}  This is stderr

 Execute Command And Return Rc
@@ -19,8 +19,7 @@
     Should Be Equal As Integers  ${rc}  0

 Execute Command And Return All Values
-    ${stdout}    ${stderr}    ${rc}=
-    ...    Execute Command   ./${TEST SCRIPT NAME}    foo    bar    baz
+ ${stdout} ${stderr} ${rc} = Execute Command ./${TEST SCRIPT NAME} foo bar baz
     Should Be Equal  ${stdout}  This is stdout
     Should Be Equal  ${stderr}  This is stderr
     Should Be Equal As Integers  ${rc}  0

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to