From c1e011fa4da919f1cc0142d49310e807db8ee804 Mon Sep 17 00:00:00 2001 From: Jim Perrin Date: Jun 16 2015 16:26:38 +0000 Subject: Exclude aarch64 from tests --- diff --git a/tests/p_ipa-server/1-install_freeipa.sh b/tests/p_ipa-server/1-install_freeipa.sh index bb2c29b..8017da0 100755 --- a/tests/p_ipa-server/1-install_freeipa.sh +++ b/tests/p_ipa-server/1-install_freeipa.sh @@ -2,12 +2,12 @@ # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then t_Log "Running $0 - Installing packages, this takes around 2-3 mins" t_InstallPackage ipa-server bind-dyndb-ldap libsss_sudo else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi diff --git a/tests/p_ipa-server/2-configure_freeipa.sh b/tests/p_ipa-server/2-configure_freeipa.sh index f368dc0..492498a 100755 --- a/tests/p_ipa-server/2-configure_freeipa.sh +++ b/tests/p_ipa-server/2-configure_freeipa.sh @@ -1,7 +1,7 @@ #!/bin/bash # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then t_Log "Running $0 - setting hostname of system" @@ -34,6 +34,6 @@ if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') fi else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi diff --git a/tests/p_ipa-server/3-verify_kerberos_tickets.sh b/tests/p_ipa-server/3-verify_kerberos_tickets.sh index bf924fe..7f361ec 100755 --- a/tests/p_ipa-server/3-verify_kerberos_tickets.sh +++ b/tests/p_ipa-server/3-verify_kerberos_tickets.sh @@ -2,7 +2,7 @@ # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then # kinit cannot take password from stdin so use expect @@ -37,6 +37,6 @@ klist | grep "admin@C6IPA.LOCAL" &> /dev/null t_CheckExitStatus $? else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi diff --git a/tests/p_ipa-server/4-adduser.sh b/tests/p_ipa-server/4-adduser.sh index 5ee880f..72c3f91 100755 --- a/tests/p_ipa-server/4-adduser.sh +++ b/tests/p_ipa-server/4-adduser.sh @@ -2,7 +2,7 @@ # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then # Need admin credentials @@ -96,7 +96,7 @@ getent passwd ipatestuser &> /dev/null t_CheckExitStatus $? else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi diff --git a/tests/p_ipa-server/5-addservice.sh b/tests/p_ipa-server/5-addservice.sh index 01370a7..2d918b5 100755 --- a/tests/p_ipa-server/5-addservice.sh +++ b/tests/p_ipa-server/5-addservice.sh @@ -2,7 +2,7 @@ # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then # Need admin credentials @@ -76,7 +76,7 @@ openssl verify -CAfile /etc/ipa/ca.crt /etc/pki/tls/certs/testservice.crt | grep t_CheckExitStatus $? else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi diff --git a/tests/p_ipa-server/6-dnsdetails.sh b/tests/p_ipa-server/6-dnsdetails.sh index 224639b..0bb4ba4 100755 --- a/tests/p_ipa-server/6-dnsdetails.sh +++ b/tests/p_ipa-server/6-dnsdetails.sh @@ -2,7 +2,7 @@ # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then # Need admin credentials @@ -81,6 +81,6 @@ sleep 1 done else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi diff --git a/tests/p_ipa-server/7-addsudo.sh b/tests/p_ipa-server/7-addsudo.sh index 720f78a..5ab8c18 100755 --- a/tests/p_ipa-server/7-addsudo.sh +++ b/tests/p_ipa-server/7-addsudo.sh @@ -2,7 +2,7 @@ # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then # Need admin credentials @@ -84,6 +84,6 @@ grep 'ALL) ALL' /tmp/sudotestoutput.ipa-test &> /dev/null t_CheckExitStatus $? else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi diff --git a/tests/p_ipa-server/99-postclean.sh b/tests/p_ipa-server/99-postclean.sh index b300fac..3277479 100755 --- a/tests/p_ipa-server/99-postclean.sh +++ b/tests/p_ipa-server/99-postclean.sh @@ -2,7 +2,7 @@ # Author: James Hogarth # -if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') +if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') && !(t_GetArch | grep -qE 'aarch64') then if (t_GetPkgRel basesystem | grep -qE 'el(6)') then @@ -44,6 +44,6 @@ if (t_GetPkgRel basesystem | grep -qE 'el(6|7)') fi else - echo "Skipped on CentOS 5" + echo "Skipped on CentOS 5 and AArch64" fi