From 7af75044da037b0c669087c14fbb78463efcdc17 Mon Sep 17 00:00:00 2001 From: Ren RenJuan Date: Fri, 10 Jan 2014 21:35:32 +0000 Subject: [PATCH] * --- ACTK1_0/session/SessionManagerTest.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ACTK1_0/session/SessionManagerTest.cpp b/ACTK1_0/session/SessionManagerTest.cpp index 168d457..fe0935d 100644 --- a/ACTK1_0/session/SessionManagerTest.cpp +++ b/ACTK1_0/session/SessionManagerTest.cpp @@ -15,6 +15,8 @@ #include #include +extern int tkScenario; + using namespace std; static TestEnvironment props; @@ -23,7 +25,10 @@ static TestEnvironment props; void doWork() { - init("etc/toolkit2.conf"); + if (!tkScenario) + init("etc/toolkit2.conf"); + else + scenario(tkScenario); string op("shutdown"); {