summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-09-17 08:57:36 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2024-09-20 08:06:57 +0300
commit81b72ee66a69d433a57fb7674ca5a3f8f0a2ef33 (patch)
tree3d765c6e79b7328ce58b5b12488b075cc5c85a22 /tests
parent4265b4f358436252ef36164566f316458f1df671 (diff)
downloadfocaccia-qemu-81b72ee66a69d433a57fb7674ca5a3f8f0a2ef33.tar.gz
focaccia-qemu-81b72ee66a69d433a57fb7674ca5a3f8f0a2ef33.zip
tests/unit: Really build pbkdf test on macOS
Fix a typo to run the pbkdf crypto cipher tests on macOS.

 $ make check-unit
   ...
   87/102 qemu:unit / test-crypto-pbkdf      OK      2.35s   17 subtests passed

Fixes: ebe0302ac8 ("tests/unit: build pbkdf test on macOS")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test-crypto-pbkdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test-crypto-pbkdf.c b/tests/unit/test-crypto-pbkdf.c
index b477cf4e4b..12ee808fbc 100644
--- a/tests/unit/test-crypto-pbkdf.c
+++ b/tests/unit/test-crypto-pbkdf.c
@@ -25,7 +25,7 @@
 #include <sys/resource.h>
 #endif
 
-#if defined(_WIN32) || defined(RUSAGE_THREAD) || defined(CONFIG_DARWNI)
+#if defined(_WIN32) || defined(RUSAGE_THREAD) || defined(CONFIG_DARWIN)
 #include "crypto/pbkdf.h"
 
 typedef struct QCryptoPbkdfTestData QCryptoPbkdfTestData;