parent
28c0be4535
commit
7f4193e697
|
@ -21,18 +21,6 @@ TEST(config_file_test, load_ztpConfig)
|
||||||
|
|
||||||
ASSERT_STREQ(pZtpCfg->svr_cfg.server_url, "cmhi.ztp.com");
|
ASSERT_STREQ(pZtpCfg->svr_cfg.server_url, "cmhi.ztp.com");
|
||||||
ASSERT_EQ(10082, pZtpCfg->svr_cfg.port);
|
ASSERT_EQ(10082, pZtpCfg->svr_cfg.port);
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
}
|
|
||||||
|
|
||||||
TEST(config_file_test, load_devConfig)
|
|
||||||
{
|
|
||||||
int ret = init_configure("../../ztp.conf");
|
|
||||||
ASSERT_EQ(ERR_OK, ret);
|
|
||||||
|
|
||||||
ret = load_dev_config("ace08484843");
|
|
||||||
ASSERT_EQ(ERR_OK, ret);
|
|
||||||
>>>>>>> ad92219248b9550b28ffe8c757d237cc61065513
|
|
||||||
|
|
||||||
PDEVICE_CONFIG pDevCfg = get_device_configure();
|
PDEVICE_CONFIG pDevCfg = get_device_configure();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue