From 8925c5caf8a680231d84fa6f9679f41a7116dd05 Mon Sep 17 00:00:00 2001
From: Johnny Hughes <johnny@centos.org>
Date: Fri, 08 Feb 2019 14:27:37 +0000
Subject: [PATCH] skip tomcat_manager_test.sh on i386

---
 tests/p_tomcat/tomcat_manager_test.sh |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/p_tomcat/tomcat_manager_test.sh b/tests/p_tomcat/tomcat_manager_test.sh
index ca31401..d15889c 100755
--- a/tests/p_tomcat/tomcat_manager_test.sh
+++ b/tests/p_tomcat/tomcat_manager_test.sh
@@ -1,8 +1,12 @@
 #!/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 Web Application Manager test."
-
+fi
 curl -u admin:admin -s http://localhost:8080/manager/html | grep "Tomcat Web Application Manager"  >/dev/null 2>&1
 
 t_CheckExitStatus $?

--
Gitblit v1.8.0