From 86b7f05a73b5348ceb1f91a516bbfa809aab8b3a Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 2 Aug 2023 18:31:58 +0200 Subject: [PATCH] Run crash test during docker buildx generation Signed-off-by: DL6ER --- .github/Dockerfile | 2 ++ test/arch_test.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/Dockerfile b/.github/Dockerfile index 68fecd6b..ceb03bf6 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -21,6 +21,8 @@ RUN rm -rf cmake && \ bash test/arch_test.sh && \ # Run full test suite bash test/run.sh && \ +# Run crash test + [[ ./pihole-FTL crash || true ]] && \ # Move FTL binary to root directory cd / &&\ mv /app/pihole-FTL . && \ diff --git a/test/arch_test.sh b/test/arch_test.sh index da6d29b4..6e6d88dd 100644 --- a/test/arch_test.sh +++ b/test/arch_test.sh @@ -110,7 +110,7 @@ elif [[ "${CI_ARCH}" == "linux/386" ]]; then elif [[ "${CI_ARCH}" == "linux/arm/v5" ]]; then check_machine "ELF32" "ARM" - check_libs "[libm.so.6] [librt.so.1] [libgcc_s.so.1] [libpthread.so.0] [libc.so.6] [ld-linux.so.3]" + check_libs "[libm.so.6] [librt.so.1] [libdl.so.2] [libgcc_s.so.1] [libpthread.so.0] [libc.so.6] [ld-linux.so.3]" check_file "ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.0, not stripped" check_CPU_arch "v4T"