From 492822eeeeb6da13e6f8d3dd2bdacade1853c51f Mon Sep 17 00:00:00 2001
From: blsaws <bryan.sullivan@att.com>
Date: Tue, 19 Jul 2016 10:57:15 -0700
Subject: CD to test dirctory

JIRA: COPPER-4

Change-Id: I917065f2fd5494f9cb1c662958ccb95e19bcba0a
Signed-off-by: blsaws <bryan.sullivan@att.com>
---
 tests/run.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'tests')

diff --git a/tests/run.sh b/tests/run.sh
index b252863..1c8d7d2 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -30,6 +30,8 @@
 #   $ bash run.sh
 #
 
+wd=dirname "$0"
+cd $wd
 start=`date +%s`
 tests="dmz smtp_ingress reserved_subnet"
 overall_result=0
@@ -65,4 +67,4 @@ done
 if (($overall_result == 0)); then echo "Test run overall: PASSED";
 else echo "Test run overall: FAILED"
 fi
-exit $overall_result
\ No newline at end of file
+exit $overall_result
-- 
cgit