summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-24 20:11:14 +0200
committerGitHub <noreply@github.com>2024-07-24 20:11:14 +0200
commit3147c580cf9b9d965b62b27b5eee5f3e91df07f8 (patch)
treed478ebcf4176eeda9106c99e577bea0bcbeb8b16 /smoketest/scripts/cli
parent6fb937821dd4d70f70dff65cfd81684f175c426a (diff)
parent43e0c4bc01330d67c986b2f5863f0ca48ec2b87c (diff)
downloadvyos-1x-3147c580cf9b9d965b62b27b5eee5f3e91df07f8.tar.gz
vyos-1x-3147c580cf9b9d965b62b27b5eee5f3e91df07f8.zip
Merge pull request #3845 from vyos/mergify/bp/sagitta/pr-3833
wireless: T6597: improve hostapd startup and corresponding smoketests (backport #3833)
Diffstat (limited to 'smoketest/scripts/cli')
-rw-r--r--smoketest/scripts/cli/base_vyostest_shim.py2
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: