summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-23 06:44:10 +0200
committerGitHub <noreply@github.com>2024-07-23 06:44:10 +0200
commitbf7fcfbc974bbb6664bc883878fba32a1edaaad7 (patch)
tree8e70b50fa845612b5e885c17c1fd916f7cdfbdf5 /smoketest/scripts/cli
parent31ac4e20837f392f4cbc9b5d1b692a1fc4430451 (diff)
parent9516ae6ffafa5107ff7e6639c2a2303dc6bc9ae4 (diff)
downloadvyos-1x-bf7fcfbc974bbb6664bc883878fba32a1edaaad7.tar.gz
vyos-1x-bf7fcfbc974bbb6664bc883878fba32a1edaaad7.zip
Merge pull request #3844 from vyos/mergify/bp/circinus/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 4bcc50453..5acfe20fd 100644
--- a/smoketest/scripts/cli/base_vyostest_shim.py
+++ b/smoketest/scripts/cli/base_vyostest_shim.py
@@ -80,6 +80,8 @@ class VyOSUnitTestSHIM:
self._session.discard()
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: