diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-19 13:49:32 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-07-23 19:18:16 +0200 |
commit | 832dee956043be7f1e1d9f06f57f80b6d4db22ab (patch) | |
tree | b93cc4a85a487f271408077496e7987043a2194f /smoketest | |
parent | dc993e0069838183709031e6fb60999c76982368 (diff) | |
download | vyos-1x-832dee956043be7f1e1d9f06f57f80b6d4db22ab.tar.gz vyos-1x-832dee956043be7f1e1d9f06f57f80b6d4db22ab.zip |
smoketest: T6597: add "commit" debug information
(cherry picked from commit f6485f7df8713298d81ec0d45c548417db111523)
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/scripts/cli/base_vyostest_shim.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/base_vyostest_shim.py b/smoketest/scripts/cli/base_vyostest_shim.py index efaa74fe0..112c58c09 100644 --- a/smoketest/scripts/cli/base_vyostest_shim.py +++ b/smoketest/scripts/cli/base_vyostest_shim.py @@ -75,6 +75,8 @@ class VyOSUnitTestSHIM: self._session.delete(config) def cli_commit(self): + if self.debug: + print('commit') self._session.commit() # during a commit there is a process opening commit_lock, and run() returns 0 while run(f'sudo lsof -nP {commit_lock}') == 0: |