From 5c8c73521add9b196279b8811ad8a1857ebf58d8 Mon Sep 17 00:00:00 2001 From: blsaws Date: Sun, 10 Apr 2016 21:17:56 -0700 Subject: Add test case for server with open port. JIRA: COPPER-4 Change-Id: I1249be409e8bf3b673027f196e0270c4863d2e5b Signed-off-by: blsaws (cherry picked from commit 3816e275104b6465910434612a0f89b06c2e1709) --- tests/adhoc/smtp_ingress-clean.sh | 90 ++++++++++++++++++++++++++++++ tests/adhoc/smtp_ingress.sh | 113 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 203 insertions(+) create mode 100644 tests/adhoc/smtp_ingress-clean.sh create mode 100644 tests/adhoc/smtp_ingress.sh diff --git a/tests/adhoc/smtp_ingress-clean.sh b/tests/adhoc/smtp_ingress-clean.sh new file mode 100644 index 0000000..ee54966 --- /dev/null +++ b/tests/adhoc/smtp_ingress-clean.sh @@ -0,0 +1,90 @@ +#!/bin/bash +# Copyright 2015-2016 AT&T Intellectual Property, Inc +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# What this is: Cleanup script for the test dmz01.sh +# +# Status: this is a work in progress, under test. +# +# How to use: +# Install test server per https://wiki.opnfv.org/copper/academy/congress/test +# $ source ~/git/copper/tests/adhoc/dmz01.sh +# After test, cleanup with +# $ source ~/git/copper/tests/adhoc/dmz01-clean.sh + +if [ $1 == "debug" ]; then set -x #echo on +fi + +source ~/admin-openrc.sh <