]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: add test for required choice/np-container callbacks 15425/head
authorChristian Hopps <chopps@labn.net>
Sun, 25 Feb 2024 04:24:05 +0000 (23:24 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sun, 25 Feb 2024 21:55:03 +0000 (21:55 +0000)
Signed-off-by: Christian Hopps <chopps@labn.net>
(cherry picked from commit e5acf6797cbeb3c68946c3a7f65d4d8b433d85f5)

tests/topotests/mgmt_config/test_regression.py

index 70f38d2ec7659fa0c513c07d392943ac35fcabe3..928151a23afab492b0ee43ca05972959417c4898 100644 (file)
@@ -51,3 +51,23 @@ def test_regression_issue_13920(tgen):
     )
     output = r1.net.checkRouterCores()
     assert not output.strip()
+
+
+def test_regression_pullreq_15423(tgen):
+    r1 = tgen.gears["r1"]
+    r1.vtysh_multicmd(
+        """
+    conf t
+    access-list test seq 1 permit ip any 10.10.10.0 0.0.0.255
+    """
+    )
+
+    output = r1.vtysh_multicmd(
+        """
+    conf terminal file-lock
+    mgmt delete-config /frr-filter:lib/access-list[name='test'][type='ipv4']/entry[sequence='1']/destination-network
+    mgmt commit apply
+    end
+    """
+    )
+    assert "No changes found" not in output