Revision: c83bde0ae6b9
Branch:   default
Author:   Mika Hänninen <[email protected]>
Date:     Wed May 15 01:17:25 2013
Log:      process lib: tweak the setting environment test
http://code.google.com/p/robotframework/source/detail?r=c83bde0ae6b9

Modified:
 /atest/testdata/standard_libraries/process/test_process_library.txt

=======================================
--- /atest/testdata/standard_libraries/process/test_process_library.txt Tue May 14 06:14:58 2013 +++ /atest/testdata/standard_libraries/process/test_process_library.txt Wed May 15 01:17:25 2013
@@ -57,16 +57,16 @@
     [Teardown]    Remove File    ${TEMPDIR}${/}myfile.txt

 Setting Environment
-    ${curenv}=    Get Environment Variables
+    @{curenv}=    Get Environment Variables
     ${setenv}=    Create Dictionary           special_var    spessu
${result}= Run Process python -c "import os; print os.environ;" shell=True
-    Should Match        ${result.stdout}   *PATH*
+    Should Match        ${result.stdout}   *@{curenv}[0]*
     Should Not Match    ${result.stdout}   *special_var*
${result}= Run Process python -c "import os; print os.environ;" shell=True env:special_var=spessu
-    Should Not Match    ${result.stdout}   *PATH*
+    Should Not Match    ${result.stdout}   *@{curenv}[0]*
     Should Match        ${result.stdout}   *special_var*
${result}= Run Process python -c "import os; print os.environ;" shell=True env=${setenv}
-    Should Not Match    ${result.stdout}   *PATH*
+    Should Not Match    ${result.stdout}   *@{curenv}[0]*
     Should Match        ${result.stdout}   *special_var*

 Escaping equals sign

--

--- 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to