This commit is contained in:
Ren RenJuan 2014-01-10 21:35:32 +00:00
parent 1ce790fc0e
commit 7af75044da
1 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,8 @@
#include <unistd.h> #include <unistd.h>
#include <vector> #include <vector>
extern int tkScenario;
using namespace std; using namespace std;
static TestEnvironment props; static TestEnvironment props;
@ -23,7 +25,10 @@ static TestEnvironment props;
void doWork() void doWork()
{ {
init("etc/toolkit2.conf"); if (!tkScenario)
init("etc/toolkit2.conf");
else
scenario(tkScenario);
string op("shutdown"); string op("shutdown");
{ {