From b241534d5a37ac93368aec79727238e3aed75d43 Mon Sep 17 00:00:00 2001 From: lanqinglong Date: Fri, 15 Jan 2016 10:28:42 +0800 Subject: Modify ONOS test for CI running Change-Id: I2ce678c1239920071f9eeb6fe251a92cb3737e6a Signed-off-by: lanqinglong (cherry picked from commit be4d2778d535272a3683cb8e518c85065af6a582) --- testcases/Controllers/ONOS/Teston/CI/adapters/connection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testcases/Controllers/ONOS/Teston/CI/adapters/connection.py') diff --git a/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py b/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py index f7f283ed0..c0eb464af 100644 --- a/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py +++ b/testcases/Controllers/ONOS/Teston/CI/adapters/connection.py @@ -160,7 +160,7 @@ class connection( foundation ): onospath: path of onos root """ print "Now Changing ONOS Root Path" - filepath = onospath + '/onos/tools/dev/bash_profile' + filepath = onospath + 'onos/tools/dev/bash_profile' line = open(filepath, 'r').readlines() lenall = len(line) - 1 for i in range(lenall): @@ -179,7 +179,6 @@ class connection( foundation ): filepath = '/root/' else : filepath = '/home/' + self.masterusername + '/' - self.OnosRootPathChange( filepath ) filepath = os.path.join( filepath, "onos/tools/dev/bash_profile" ) self.AddEnvIntoBashrc("source " + filepath + "\n") self.AddEnvIntoBashrc("export OCT=" + self.OCT) -- cgit 1.2.3-korg