blob: 12f00d0ed6f0f24925639ab2dc78e483100d5b11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Test obtain_device_info when board_name file is missing.
-- Testcase --
let ar = require('advanced_reboot');
let api = ar["luci.advanced-reboot"];
let result = api.obtain_device_info.call();
printf("%J\n", result);
-- End --
-- Expect stdout --
{ "error": "NO_BOARD_NAME" }
-- End --
|