msmith-techempower 8 years ago
parent
commit
496531ffe9
1 changed files with 5 additions and 1 deletions
  1. 5 1
      toolset/benchmark/benchmarker.py

+ 5 - 1
toolset/benchmark/benchmarker.py

@@ -609,8 +609,12 @@ class Benchmarker:
         except OSError:
         except OSError:
           pass
           pass
         passed_verify = test.verify_urls(verificationPath)
         passed_verify = test.verify_urls(verificationPath)
+
+        ##########################
+        # Nuke /tmp
+        ##########################
         try:
         try:
-          subprocess.check_call('sudo rm -rf /tmp/*')
+          subprocess.check_call('sudo rm -rf /tmp/*', shell=True, stderr=out, stdout=out)
         except Exception:
         except Exception:
           out.write(header("Error: Could not empty /tmp"))
           out.write(header("Error: Could not empty /tmp"))