From 826a4c3fb377528ffb19af30ae61b36b5c200411 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Sat, 6 Apr 2024 12:17:06 +0200 Subject: [PATCH] Fix snmp test (after cli output format example change) --- test/test_snmp_set.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_snmp_set.sh b/test/test_snmp_set.sh index 0efc860d..a451830f 100755 --- a/test/test_snmp_set.sh +++ b/test/test_snmp_set.sh @@ -216,7 +216,7 @@ function testrun() fi new "Check $name via CLI" - expectpart "$($clixon_cli -1 -f $cfg show config xml)" 0 "<$name>$xvalue" + expectpart "$($clixon_cli -1 -f $cfg show config)" 0 "<$name>$xvalue" } function testexit(){ @@ -262,7 +262,7 @@ new "Check $name via SNMP" expectpart "$($snmpget $oid)" 0 "$type: active(1)" new "Check $name via CLI" -expectpart "$($clixon_cli -1 -f $cfg show config xml)" 0 "<$name>active" +expectpart "$($clixon_cli -1 -f $cfg show config)" 0 "<$name>active" # restart backend with synthetic validation failure # Incomplete commit failed test: the commit fails by logging but this is not actually checked