Fixed qdir unittest to handle being run as root
authorKurt Korbatits <kurt.korbatits@nokia.com>
Thu, 9 Feb 2012 01:15:32 +0000 (11:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Feb 2012 05:53:05 +0000 (06:53 +0100)
commit951c0b7afa2538037795644bf9759d0574ef99fd
tree7f28f98930ed6bdcd44b9149e1c078a1da932e5b
parent7f403f368eac8a0ebba83a1c30e83ff0a3963acb
Fixed qdir unittest to handle being run as root

- Added checks to see if running as root and skip as needed

Change-Id: I4f94d5bfe511c6dfda315854b7cd1f64efe6e4f4
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
tests/auto/corelib/io/qdir/tst_qdir.cpp