test-libcrypt-util: skip test on ppc64 with no xcrypt

I'm tired of trying to figure this out.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-09-15 09:18:31 +02:00
parent 35e22827a9
commit bd99297bd3
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ static void test_hash_password_full(void) {
int main(int argc, char *argv[]) {
test_setup_logging(LOG_DEBUG);
#if defined(__powerpc__) && !defined(XCRYPT_VERSION_MAJOR)
return log_tests_skipped("crypt_r() causes a buffer overflow on ppc64el, see https://github.com/systemd/systemd/pull/16981#issuecomment-691203787");
#endif
test_hash_password_full();
return 0;