From 2af58636161fe8d041bf263079e98e873efb58be Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 23 Jun 2023 12:47:05 +0200 Subject: [PATCH] test/system: ... --- test/system/libs/helpers.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/system/libs/helpers.bash b/test/system/libs/helpers.bash index 3d407054e..f1d3e07a6 100644 --- a/test/system/libs/helpers.bash +++ b/test/system/libs/helpers.bash @@ -521,7 +521,8 @@ function get_system_version() { return fi - echo $(awk -F= '/VERSION_ID/ {print $2}' $os_release | head -n 1) + . "$os_release" + echo "$VERSION_ID" }