diff --git a/example/main/example_cli.cli b/example/main/example_cli.cli index 358b9117..55775436 100644 --- a/example/main/example_cli.cli +++ b/example/main/example_cli.cli @@ -65,7 +65,6 @@ copy("Copy and create a new object") { } } discard("Discard edits (rollback 0)"), discard_changes(); -compare("Compare running and candidate"), compare_dbs((int32)1); show("Show a particular state of the system"){ auto("Show expand") @datamodel, cli_show_auto("candidate", "xml"); diff --git a/test/test_cli.sh b/test/test_cli.sh index b86ac290..1f1a01ed 100755 --- a/test/test_cli.sh +++ b/test/test_cli.sh @@ -101,7 +101,7 @@ new "cli success validate" expectpart "$($clixon_cli -1 -f $cfg -l o validate)" 0 "^$" new "cli compare diff" -expectpart "$($clixon_cli -1 -f $cfg -l o compare)" 0 "+ ip 1.2.3.4;" +expectpart "$($clixon_cli -1 -f $cfg -l o show compare text)" 0 "+ ip 1.2.3.4;" new "cli start shell" expectpart "$($clixon_cli -1 -f $cfg -l o shell echo foo)" 0 "foo"