summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-17 15:20:39 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-17 15:23:12 +0100
commit76698ce69f61669f79012e4c107005edda29e3ef (patch)
treee08b4960b27165ae939b993acdd7fd984561ceb8 /smoketest/scripts/cli
parentc1b5e0ab118f1fcf46a59fe64343fe7473556f46 (diff)
downloadvyos-1x-76698ce69f61669f79012e4c107005edda29e3ef.tar.gz
vyos-1x-76698ce69f61669f79012e4c107005edda29e3ef.zip
smoketest: ntp: T3008: verify chrony runs in appropriate VRF
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_service_ntp.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_service_ntp.py b/smoketest/scripts/cli/test_service_ntp.py
index d4793adb6..3ccd19a31 100755
--- a/smoketest/scripts/cli/test_service_ntp.py
+++ b/smoketest/scripts/cli/test_service_ntp.py
@@ -135,6 +135,10 @@ class TestSystemNTP(VyOSUnitTestSHIM.TestCase):
self.cli_commit()
+ # Check for process in VRF
+ tmp = cmd(f'ip vrf pids {vrf_name}')
+ self.assertIn(PROCESS_NAME, tmp)
+
self.cli_delete(['vrf', 'name', vrf_name])
if __name__ == '__main__':