From 390a886277ba3afc6b9371cc13587b9a30ce5bdb Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Thu, 20 Aug 2020 12:09:53 -0700 Subject: *: record transaction based on control flag In case of config rollback is enabled, record northbound transaction based on a control flag. The actual frr daemons would set the flag to true via nb_init from frr_init. This will allow test daemon to bypass recording transacation to db. Signed-off-by: Chirag Shah --- tests/lib/cli/common_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/lib/cli/common_cli.c') diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c index 3cade4a2c9..44cc6efe84 100644 --- a/tests/lib/cli/common_cli.c +++ b/tests/lib/cli/common_cli.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) vty_init(master, false); lib_cmd_init(); yang_init(true); - nb_init(master, NULL, 0); + nb_init(master, NULL, 0, false); test_init(argc, argv); -- cgit v1.2.3