Hi! On 12.05.2014 17:39, [email protected] wrote: > Hi! >> If access(some_file, W_OK) is executed by root it will return success even >> if the file has read-only permission. Use 'open' to test sysfs file for write >> permission. > This may be worth of a paragraph in Common Problems section in > Test-Writing-Guidelines.
Agree. I'll add a paragraph. Note that 'open' works on sysfs, but doesn't on ext4. > The patch itself is OK. > Thanks, Alexey ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
