~michihenning/unity-scopes-api/lxc-registry

« back to all changes in this revision

Viewing changes to test/gtest/scopes/stress/scopes-stress.cpp

  • Committer: Michi Henning
  • Date: 2015-11-26 07:17:39 UTC
  • Revision ID: michi.henning@canonical.com-20151126071739-lojle14saxyeieh6
Fixed loose checks when retrieving env vars and set desktop file dir for stress test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
{
141
141
    ::testing::InitGoogleTest(&argc, argv);
142
142
 
 
143
    putenv(const_cast<char*>("TEST_DESKTOP_FILES_DIR=" TEST_DESKTOP_FILES_DIR));
 
144
 
143
145
    int rc = 0;
144
146
    auto rpid = fork();
145
147
    if (rpid == 0)