diff options
author | Siri Hansen <[email protected]> | 2019-01-31 14:49:31 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2019-01-31 14:49:31 +0100 |
commit | 871f133a49ecdc59a4e9d81d532ac6d7d78aa6db (patch) | |
tree | 7dda3a390609dd3162fe8dcda2b09635b769868e /lib/common_test/test | |
parent | 71e7b98034ac00d9ee5428ed0602646e29851a29 (diff) | |
download | otp-871f133a49ecdc59a4e9d81d532ac6d7d78aa6db.tar.gz otp-871f133a49ecdc59a4e9d81d532ac6d7d78aa6db.tar.bz2 otp-871f133a49ecdc59a4e9d81d532ac6d7d78aa6db.zip |
[ct] Allow ct_netconfc:edit_config/3,4,5 to take a list of XML elements
The yang RFC allows more than one top element of config data in an
edit-config element.
Diffstat (limited to 'lib/common_test/test')
-rw-r--r-- | lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl index a2fa099a8c..0d17481e95 100644 --- a/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl +++ b/lib/common_test/test/ct_netconfc_SUITE_data/netconfc1_SUITE.erl @@ -440,6 +440,12 @@ edit_config(Config) -> ?ok = ct_netconfc:edit_config(Client,running, {server,[{xmlns,"myns"}], [{name,["myserver"]}]}), + ?NS:expect_reply('edit-config',ok), + ?ok = ct_netconfc:edit_config(Client,running, + [{server,[{xmlns,"myns"}], + [{name,["server1"]}]}, + {server,[{xmlns,"myns"}], + [{name,["server2"]}]}]), ?NS:expect_do_reply('close-session',close,ok), ?ok = ct_netconfc:close_session(Client), ok. |