From 033601b79ae00784bfaab9ea91fe70ecff83d645 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Mon, 19 Jun 2023 09:21:00 +0200 Subject: [PATCH] test: wrap curl when running with ASan Necessary (unfortunately) for curl on C8S. --- test/test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-functions b/test/test-functions index 99e11fc2cad..2b112fbb2a2 100644 --- a/test/test-functions +++ b/test/test-functions @@ -2737,7 +2737,7 @@ inst_binary() { # nsswitch.conf uses [SUCCESS=merge] (like on Arch Linux) # delv, dig - pull in nss_resolve if `resolve` is in nsswitch.conf # tar - called by machinectl in TEST-25 - bin_rx='/(agetty|chown|delv|dig|getfacl|getent|id|login|ls|mkfs\.[a-z0-9]+|mksquashfs|mkswap|setfacl|setpriv|stat|su|tar|useradd|userdel)$' + bin_rx='/(agetty|chown|curl|delv|dig|getfacl|getent|id|login|ls|mkfs\.[a-z0-9]+|mksquashfs|mkswap|setfacl|setpriv|stat|su|tar|useradd|userdel)$' if get_bool "$IS_BUILT_WITH_ASAN" && [[ "$bin" =~ $bin_rx ]]; then wrap_binary=1 fi -- 2.47.3