Browse Source

Merge pull request #2301 from ashawnbandy-te-tfb/45216-continuousbenchmarking-nuketmp-20161006-6

45216 continuousbenchmarking nuketmp 20161006 6
Mike Smith 8 years ago
parent
commit
5e7d66d44f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/benchmark/framework_test.py

+ 1 - 1
toolset/benchmark/framework_test.py

@@ -493,7 +493,7 @@ class FrameworkTest:
 
 
         self.benchmarker.report_benchmark_results(framework=self, test=test_type, results=results['results'])
         self.benchmarker.report_benchmark_results(framework=self, test=test_type, results=results['results'])
         rmtmp = "find /tmp -maxdepth 1 -name \"*\" -print0 | xargs -0 sudo -u %s rm" % (self.benchmarker.runner_user)
         rmtmp = "find /tmp -maxdepth 1 -name \"*\" -print0 | xargs -0 sudo -u %s rm" % (self.benchmarker.runner_user)
-        subprocess.Popen(rmtmp);
+        subprocess.Popen(rmtmp, shell=True, cwd=self.fwroot, executable='/bin/bash')
         out.write( "Complete\n" )
         out.write( "Complete\n" )
         out.flush()
         out.flush()