Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1382 by [email protected]: pattern argument for Count Files
In Directory is case sensitive (incorrect documentation)
http://code.google.com/p/robotframework/issues/detail?id=1382
I have a folder (${folder}) that contains one file, with a file
extension "pdf" (lowercase). If I run the following test case, I get the
output 1, 0, 1. This indicates that the pattern argument is case sensitive,
even though the documentation says that it should be case insensitive
(http://robotframework.googlecode.com/hg/doc/libraries/OperatingSystem.html#Pattern
matching)
| Test case sensitivity
| | ${noPattern}= | count files in directory | ${folder}
| | ${caps}= | count files in directory | ${folder} | *.PDF
| | ${noCaps}= | count files in directory | ${folder} | *.pdf
| | log | no pattern: ${noPattern} | warn
| | log | caps: ${caps} | warn
| | log | no caps: ${noCaps} | warn
[Output]
[ WARN ] no pattern: 1
[ WARN ] caps: 0
[ WARN ] no caps: 1
Environment:
Robot Framework 2.7.5 (Python 2.7.2 on win32)
Windows Server 2008 R2 Standard (SP1)
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.