*
This commit is contained in:
parent
1ce790fc0e
commit
7af75044da
1 changed files with 6 additions and 1 deletions
|
|
@ -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()
|
||||||
{
|
{
|
||||||
|
if (!tkScenario)
|
||||||
init("etc/toolkit2.conf");
|
init("etc/toolkit2.conf");
|
||||||
|
else
|
||||||
|
scenario(tkScenario);
|
||||||
|
|
||||||
string op("shutdown");
|
string op("shutdown");
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue