Use UBsan in addition to Asan with 'make test'
When building with make with the address sanitizer enabled, also
enable the undefined behavior sanitizer.
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 73e564b..89f43ef 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -145,7 +145,7 @@
fi
# CFLAGS and LDFLAGS for Asan builds that don't use CMake
- ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address'
+ ASAN_CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined'
# Gather the list of available components. These are the functions
# defined in this script whose name starts with "component_".