diff --git a/tests/0_lib/functions.sh b/tests/0_lib/functions.sh index 387b893..fa59813 100755 --- a/tests/0_lib/functions.sh +++ b/tests/0_lib/functions.sh @@ -190,7 +190,7 @@ function t_GetPkgVer # Description: get the arch function t_GetArch { - rpm -q $(rpm -qf /etc/redhat-release) --queryformat '%{arch}\n' + rpm -q kernel --queryformat '%{arch}\n' } # Set the arch