From f710aec79ee3e3ba6e1c60f8c9233880e238ef59 Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Fri, 2 Dec 2022 12:05:46 +0100 Subject: [PATCH] Print system info with glibc version --- tools/regtesting/print_environment.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/tools/regtesting/print_environment.sh b/tools/regtesting/print_environment.sh index 7738986836..58c1c9f88c 100755 --- a/tools/regtesting/print_environment.sh +++ b/tools/regtesting/print_environment.sh @@ -54,17 +54,28 @@ if [[ "${git_sha}" != "" ]] && command -v git > /dev/null 2>&1; then "${git_sha}" fi -echo "--------------------------- Resource limits ------------------------------" +echo "------------------------- System information -----------------------------" uname -mrs +case "$(uname -s)" in + Linux) + ldd --version | head -n 1 + ;; + Darwin) + sw_vers + ;; +esac +echo "" + +echo "--------------------------- Resource limits ------------------------------" case "$(uname -s)" in Linux) prlimit ;; Darwin) - sw_vers launchctl limit ;; esac +echo "" echo "--------------------------- SELinux --------------------------------------" if [[ -f /usr/sbin/getenforce ]]; then @@ -72,6 +83,7 @@ if [[ -f /usr/sbin/getenforce ]]; then else echo "No SELinux installation found" fi +echo "" echo "--------------------------- ARCH-file ------------------------------------" cat "./arch/${ARCH}.${VERSION}"