aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/mocks/mass-pnf-sim/MassPnfSim.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocks/mass-pnf-sim/MassPnfSim.py b/test/mocks/mass-pnf-sim/MassPnfSim.py
index e4b19fd9e..a96520546 100755
--- a/test/mocks/mass-pnf-sim/MassPnfSim.py
+++ b/test/mocks/mass-pnf-sim/MassPnfSim.py
@@ -145,11 +145,11 @@ class MassPnfSim:
exit(1)
def _run_cmd(self, cmd, dir_context='.'):
- if self.args.verbose == 'debug':
- cmd='bash -x ' + cmd
old_pwd = getcwd()
try:
chdir(dir_context)
+ self.logger.debug(f'_run_cmd: Current direcotry: {getcwd()}')
+ self.logger.debug(f'_run_cmd: Command string: {cmd}')
run(cmd, check=True, shell=True)
chdir(old_pwd)
except FileNotFoundError: