From: Zbigniew Jędrzejewski-Szmek Date: Tue, 15 Sep 2020 07:18:31 +0000 (+0200) Subject: test-libcrypt-util: skip test on ppc64 with no xcrypt X-Git-Tag: v247-rc1~204^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd99297bd3e78f6b06a588243df71db3553d0e5c;p=thirdparty%2Fsystemd.git test-libcrypt-util: skip test on ppc64 with no xcrypt I'm tired of trying to figure this out. --- diff --git a/src/test/test-libcrypt-util.c b/src/test/test-libcrypt-util.c index 1c570784f4e..89ff76e84c9 100644 --- a/src/test/test-libcrypt-util.c +++ b/src/test/test-libcrypt-util.c @@ -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;