From 438a3f5f7d7d520f7da62c8a6099cf975d93dc53 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Wed, 4 Jan 2012 15:53:08 +0000 Subject: [PATCH] fix #79 with testcase --- hsarback/test/de/hsadmin/remote/SSLCertDomainTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hsarback/test/de/hsadmin/remote/SSLCertDomainTest.java b/hsarback/test/de/hsadmin/remote/SSLCertDomainTest.java index 16d4e6a..46fa176 100644 --- a/hsarback/test/de/hsadmin/remote/SSLCertDomainTest.java +++ b/hsarback/test/de/hsadmin/remote/SSLCertDomainTest.java @@ -57,8 +57,8 @@ public class SSLCertDomainTest { Thread.sleep(5000L); String out = CommandShell.execute("( ls /var/local/lxc/hive/etc/apache2/sites-generated/aaa02.hostsharing.net >/dev/null 2>&1 " + " && grep 'SSLCertificateChainFile' /var/local/lxc/hive/etc/apache2/sites-generated/aaa02.hostsharing.net >/dev/null 2>&1 " + - " && echo Ok )" + - " || echo fail"); + " && echo fail )" + + " || echo Ok"); assertTrue(out.startsWith("Ok")); } catch (XmlRpcException e) { fail(e.getMessage()); @@ -88,8 +88,8 @@ public class SSLCertDomainTest { Thread.sleep(5000L); String out = CommandShell.execute("( ls /var/local/lxc/hive/etc/apache2/sites-generated/aaa03.hostsharing.net >/dev/null 2>&1 " + " && grep 'SSLCertificate.*default' /var/local/lxc/hive/etc/apache2/sites-generated/aaa03.hostsharing.net >/dev/null 2>&1 " + - " && echo Ok )" + - " || echo fail"); + " && echo fail )" + + " || echo Ok"); assertTrue(out.startsWith("Ok")); } catch (XmlRpcException e) { fail(e.getMessage());