Status: Accepted
Owner: anssi.sy...@eficode.com
Labels: Type-Enhancement Priority-Medium Target-1.2

New issue 74 by anssi.sy...@eficode.com: Keywords for checking if the file or directory (not) exists
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=74

The SSHLibrary should have keywords `File Should Exist`, `File Should Not Exists`, `Directory Should Exist` and `Directory Should Not Exist` checking if a file or a directory exists on the remote.

Currently something similar to this:

${rc} =  Execute Command  test -f /path/to/the/file
Should Be Equal As Integers  ${rc}  0

is required to achieve this, which is not very cross-platform friendly. Also, checking the existence is a quite common use case.

These keywords should work similarly as the corresponding ones in the OperatingSystem test library (i.e. they should follow symlinks), except supporting pattern matching (using wildcards) is not likely necessary. Please comment on this, if this is behaviour required.



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- 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