diff options
Diffstat (limited to 'test/mocks/mass-pnf-sim')
-rwxr-xr-x | test/mocks/mass-pnf-sim/MassPnfSim.py | 4 |
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: |