Fixed tst_qfileinfo::group crash if getgrgid fails
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 8 Feb 2012 05:03:34 +0000 (15:03 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Feb 2012 09:47:33 +0000 (10:47 +0100)
commit5cd73e508886c38ce52e883294484f1ab58a519e
treee24d690a82787996d5420258629a664bf5f89705
parent3e720809b0313ba1d3e51e29e951604971946935
Fixed tst_qfileinfo::group crash if getgrgid fails

QVERIFY2 and gracefully fail with an error message, rather than
crashing, if getgrgid() fails.

Change-Id: I82a7290f83208486577988cc831d5d3cba20f98e
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
tests/auto/corelib/io/qfileinfo/tst_qfileinfo.cpp