From 5a7c8e41f3e50bc4178bd816382761112017a32a Mon Sep 17 00:00:00 2001
From: Johnny Hughes <johnny@centos.org>
Date: Fri, 08 Feb 2019 15:09:51 +0000
Subject: [PATCH] adjusting tomcat_test,sh to skip i386

---
 tests/p_tomcat/tomcat_test.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/tests/p_tomcat/tomcat_test.sh b/tests/p_tomcat/tomcat_test.sh
index 3902287..2b460d3 100755
--- a/tests/p_tomcat/tomcat_test.sh
+++ b/tests/p_tomcat/tomcat_test.sh
@@ -1,7 +1,13 @@
 #!/bin/sh
 # Author: Athmane Madjoudj <athmanem@gmail.com>
 
+uname_arch=$(uname -m)
+if [ "$uname_arch" == "i686" ] ; then
+t_Log "Skipping $0 on $uname_arch"
+exit 0
+else
 t_Log "Running $0 - Tomcat basic test."
+fi
 
 if [ "$centos_ver" = "7" ] ; then
  string_tosearch="you've successfully installed Tomcat. Congratulations!"

--
Gitblit v1.8.0