From 215cd0d1c3b4a6f8fae8964677a43676b1b32431 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 11 Aug 2020 22:16:03 +0200 Subject: [PATCH] [users] Repair test on openSUSE --- src/modules/users/TestCreateUserJob.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modules/users/TestCreateUserJob.cpp b/src/modules/users/TestCreateUserJob.cpp index 610f84eef..93dc8967e 100644 --- a/src/modules/users/TestCreateUserJob.cpp +++ b/src/modules/users/TestCreateUserJob.cpp @@ -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 ) {