diff --git a/tests/p_firefox/10-check_default_startpage.sh b/tests/p_firefox/10-check_default_startpage.sh index 6ec7aa7..5103dab 100755 --- a/tests/p_firefox/10-check_default_startpage.sh +++ b/tests/p_firefox/10-check_default_startpage.sh @@ -4,11 +4,11 @@ # Check for centos.org in preferences.js t_Log "Running $0 - firefox has www.centos.org as default page." -if [ $(t_GetArch) = i686 ] +if (t_GetArch firefox | grep -q 'x86_64') then - path='/usr/lib/firefox/defaults/preferences/all-redhat.js' - else path='/usr/lib64/firefox/defaults/preferences/all-redhat.js' + else + path='/usr/lib/firefox/defaults/preferences/all-redhat.js' fi count=$(grep -c www.centos.org $path)