]> git.puffer.fish Git - matthieu/frr.git/commit
tests: use `shlex.quote` to pass command arg to vtysh
authorChristian Hopps <chopps@labn.net>
Mon, 17 Apr 2023 05:07:12 +0000 (01:07 -0400)
committerChristian Hopps <chopps@labn.net>
Mon, 17 Apr 2023 06:15:32 +0000 (02:15 -0400)
commitb5c12fb1f1e0b7a145bb5b2682db737316084003
treee9ba6f954c5d9d7a6413aa0c5157c49680d6d63c
parentb70b22af9561d0f1ac18d24dce709ab3c20c0bad
tests: use `shlex.quote` to pass command arg to vtysh

This makes sure any included quotation is properly escaped and passed
through to vtysh.

Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/lib/topogen.py