Browse Source

Numbskull error fix

msmith-techempower 10 years ago
parent
commit
2743104d54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toolset/benchmark/framework_test.py

+ 1 - 1
toolset/benchmark/framework_test.py

@@ -187,7 +187,7 @@ class FrameworkTest:
     # Always ensure that IROOT belongs to the runner_user
     chown = "sudo chown -R %s:%s %s" % (self.benchmarker.runner_user,
       self.benchmarker.runner_user, os.path.join(self.fwroot, self.install_root))
-    subprocess.check_call(chown, shell=True, cwd=cwd, executable='/bin/bash')
+    subprocess.check_call(chown, shell=True, cwd=self.fwroot, executable='/bin/bash')
 
     # Run the module start inside parent of TROOT
     #  - we use the parent as a historical accident, a number of tests