[users] Repair test on openSUSE

This commit is contained in:
Adriaan de Groot 2020-08-11 22:16:03 +02:00
parent 8518a5037d
commit 215cd0d1c3

View File

@ -63,7 +63,10 @@ CreateUserTests::testReadGroup()
#else
QVERIFY( groups.contains( QStringLiteral( "root" ) ) );
#endif
QVERIFY( groups.contains( QStringLiteral( "sys" ) ) );
// openSUSE doesn't have "sys"
// QVERIFY( groups.contains( QStringLiteral( "sys" ) ) );
QVERIFY( groups.contains( QStringLiteral( "nogroup" ) ) );
QVERIFY( groups.contains( QStringLiteral( "tty" ) ) );
for ( const QString& s : groups )
{