summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-07-19 21:17:06 -0700
committerblsaws <bryan.sullivan@att.com>2016-07-19 21:17:06 -0700
commitd9ed7b78368f4901c750d54e4d91d6dd4adc458b (patch)
treeccccaeeaa8d843aa878374a1f9ae5a3e02dec37c
parent492822eeeeb6da13e6f8d3dd2bdacade1853c51f (diff)
Add cd to test directory
JIRA: COPPER-4 Change-Id: I04d1e9213714e1e54eac21eb0c9042a1203eb274 Signed-off-by: blsaws <bryan.sullivan@att.com>
-rwxr-xr-xtests/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 1c8d7d2..0fc9678 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -30,8 +30,8 @@
# $ bash run.sh
#
-wd=dirname "$0"
-cd $wd
+if [ $# -eq 1 ]; then cd $1; fi
+
start=`date +%s`
tests="dmz smtp_ingress reserved_subnet"
overall_result=0