From ba3558bd365fe6b0e9458d1a10c9fc955d913c89 Mon Sep 17 00:00:00 2001 From: stass Date: Tue, 28 Mar 2023 19:17:46 +0300 Subject: [PATCH] fix test --- test/test_snmp_union.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/test_snmp_union.sh b/test/test_snmp_union.sh index 900f51a3..7edab9ae 100644 --- a/test/test_snmp_union.sh +++ b/test/test_snmp_union.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash # SNMP test for yang union type with are same types of subtypes - # Magic line must be first in script (see README.md) s="$_" ; . ./lib.sh || if [ "$s" = $0 ]; then exit 0; else return 0; fi @@ -33,7 +32,6 @@ cat < $cfg /var/tmp/$APPNAME.pidfile $dir unix:$SOCK - ENTITY-MIB true EOF @@ -75,12 +73,12 @@ module clixon-example{ list parameter{ smiv2:oid "1.3.6.1.2.1.47.1.1.1.1"; key name; - + leaf name{ type union{ - type ex:first; - type ex:second; - type ex:third; + type ex:first; + type ex:second; + type ex:third; } description "name"; smiv2:oid "1.3.6.1.2.1.47.1.1.1.1.1";