Test, fixed the fix of previous commits

This commit is contained in:
Olof hagsand 2022-05-30 15:47:54 +02:00
parent ebe3d8e454
commit 724b94137f

View file

@ -165,10 +165,14 @@ delete("Delete a configuration item") {
all("Delete whole candidate configuration"), delete_all("candidate"); all("Delete whole candidate configuration"), delete_all("candidate");
} }
show("Show a particular state of the system"){ show("Show a particular state of the system"){
configuration("Show configuration"), cli_auto_show("datamodel", "candidate", "text", true, false);{ configuration("Show configuration"), cli_auto_show("datamodel", "candidate", "text", true, false);{
xml("Show configuration as XML"), cli_auto_show("datamodel", "candidate", "xml", false, false); cli("Show configuration as CLI commands"), cli_auto_show("datamodel", "candidate", "cli", true, false, "set ");
} }
} }
validate("Validate changes"), cli_validate();
commit("Commit the changes"), cli_commit();
discard("Discard edits (rollback 0)"), discard_changes();
EOF EOF
cat <<EOF > $dir/startup_db cat <<EOF > $dir/startup_db