tests: Exclude TestLogin.testExpired on RHEL

RHEL 8's PAM has some weird bug where it rejects the *current* password
when changing an expired one. This isn't trivial to reproduce on the CLI
and thus has no bugzilla yet.
This commit is contained in:
Martin Pitt 2020-06-15 09:35:27 +02:00
parent 8cdec9d69e
commit 029dfa3410

View File

@ -59,9 +59,17 @@ if [ -n "$test_basic" ]; then
# TestFirewall.testNetworkingPage is still too unstable
TESTS="$TESTS TestFirewall.test{AddCustomServices,AddServices,FirewallPage,MultipleZones}"
# testExpired in RHEL 8 is a PAM bug -- it shouldn't pwquality the old password when having to set a new one, that's completely counter-productive and wrong
if [ "${TEST_OS#rhel}" != "$TEST_OS" ]; then
TESTS="$TESTS
TestLogin.test{Basic,Conversation,FailingWebsocket,FailingWebsocketSafari,FailingWebsocketSafariNoCA,Logging,Raw,SELinuxRestrictedUser,SessionRecordingShell,UnsupportedBrowser}"
else
TESTS="$TESTS
TestLogin"
fi
TESTS="$TESTS
TestAccounts
TestLogin
TestNetworking
TestSOS"
fi