sample_updater: add tests resources

This resource files are used in tests. ota package zip file
contains only text files.
Config files are generated using tools/gen_update_config.py

Test: N/A

Change-Id: I9d3d0f81472dc20db18b32f4a9445a998b68b0e3
Signed-off-by: Zhomart Mukhamejanov <zhomart@google.com>
This commit is contained in:
Zhomart Mukhamejanov
2018-04-24 18:22:47 -07:00
parent d97b643de4
commit 02e912c235
3 changed files with 49 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,14 @@
{
"name": "streaming-001",
"url": "http://foo.bar/update.zip",
"type": "STREAMING",
"streaming_metadata": {
"property_files": [
{
"filename": "payload.bin",
"offset": 531,
"size": 5012323
}
]
}
}

View File

@@ -0,0 +1,35 @@
{
"__": "*** Generated using tools/gen_update_config.py ***",
"name": "S ota_002",
"streaming_metadata": {
"property_files": [
{
"filename": "payload.bin",
"offset": 195,
"size": 8
},
{
"filename": "payload_properties.txt",
"offset": 276,
"size": 19
},
{
"filename": "care_map.txt",
"offset": 42,
"size": 9
},
{
"filename": "compatibility.zip",
"offset": 119,
"size": 14
},
{
"filename": "metadata",
"offset": 375,
"size": 9
}
]
},
"type": "STREAMING",
"url": "file:///data/sample-ota-packages/ota_002_package.zip"
}