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" }