update_engine: Upload sample images for testing.

This patch includes the sample images as a compressed .tar.bz2 file in
the source code. The images are generated with the generate_images.sh
script, but the output is also included here. The script requires
root access to create, mount and populate the images with the different
files, which is not reliable enough to run in the builders. Instead,
the images are unpacked from tha .tar.bz2 file when building the
unittests.

These images are not expected to change frequently and the current size
of the .tar.bz2 file is about 3 kB.

BUG=chromium:503145
TEST=`FEATURES=test cros_workon_make update_engine` unpacks the files only when the .tar.bz2 is updated.
TEST=Unit tests still pass.

Change-Id: Ie2be2afdf7a11a7d04b0477767d00b1daa99f1b0
Reviewed-on: https://chromium-review.googlesource.com/292949
Trybot-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
8 files changed
tree: 0d541096be4ad0d9ec3dc516aebc8d264f00ec9b
  1. dbus_bindings/
  2. init/
  3. payload_generator/
  4. sample_images/
  5. update_manager/
  6. .gitignore
  7. action.h
  8. action_pipe.h
  9. action_pipe_unittest.cc
  10. action_processor.cc
  11. action_processor.h
  12. action_processor_unittest.cc
  13. action_unittest.cc
  14. bzip.cc
  15. bzip.h
  16. bzip_extent_writer.cc
  17. bzip_extent_writer.h
  18. bzip_extent_writer_unittest.cc
  19. certificate_checker.cc
  20. certificate_checker.h
  21. certificate_checker_unittest.cc
  22. chrome_browser_proxy_resolver.cc
  23. chrome_browser_proxy_resolver.h
  24. chrome_browser_proxy_resolver_unittest.cc
  25. clock.cc
  26. clock.h
  27. clock_interface.h
  28. connection_manager.cc
  29. connection_manager.h
  30. connection_manager_interface.h
  31. connection_manager_unittest.cc
  32. constants.cc
  33. constants.h
  34. daemon.cc
  35. daemon.h
  36. dbus_constants.h
  37. dbus_service.cc
  38. dbus_service.h
  39. dbus_service_unittest.cc
  40. dbus_test_utils.h
  41. delta_performer.cc
  42. delta_performer.h
  43. delta_performer_unittest.cc
  44. download_action.cc
  45. download_action.h
  46. download_action_unittest.cc
  47. error_code.h
  48. extent_writer.cc
  49. extent_writer.h
  50. extent_writer_unittest.cc
  51. fake_clock.h
  52. fake_file_writer.h
  53. fake_hardware.h
  54. fake_p2p_manager.h
  55. fake_p2p_manager_configuration.h
  56. fake_prefs.cc
  57. fake_prefs.h
  58. fake_shill_proxy.cc
  59. fake_shill_proxy.h
  60. fake_system_state.cc
  61. fake_system_state.h
  62. file_descriptor.cc
  63. file_descriptor.h
  64. file_writer.cc
  65. file_writer.h
  66. file_writer_unittest.cc
  67. filesystem_verifier_action.cc
  68. filesystem_verifier_action.h
  69. filesystem_verifier_action_unittest.cc
  70. hardware.cc
  71. hardware.h
  72. hardware_interface.h
  73. http_common.cc
  74. http_common.h
  75. http_fetcher.cc
  76. http_fetcher.h
  77. http_fetcher_unittest.cc
  78. hwid_override.cc
  79. hwid_override.h
  80. hwid_override_unittest.cc
  81. install_plan.cc
  82. install_plan.h
  83. libcros_proxy.cc
  84. libcros_proxy.h
  85. libcurl_http_fetcher.cc
  86. libcurl_http_fetcher.h
  87. local_coverage_rate
  88. main.cc
  89. metrics.cc
  90. metrics.h
  91. mock_action.h
  92. mock_action_processor.h
  93. mock_certificate_checker.h
  94. mock_connection_manager.h
  95. mock_file_writer.h
  96. mock_hardware.h
  97. mock_http_fetcher.cc
  98. mock_http_fetcher.h
  99. mock_omaha_request_params.h
  100. mock_p2p_manager.h
  101. mock_payload_state.h
  102. mock_prefs.h
  103. mock_update_attempter.h
  104. mtd_file_descriptor.cc
  105. mtd_file_descriptor.h
  106. multi_range_http_fetcher.cc
  107. multi_range_http_fetcher.h
  108. omaha_hash_calculator.cc
  109. omaha_hash_calculator.h
  110. omaha_hash_calculator_unittest.cc
  111. omaha_request_action.cc
  112. omaha_request_action.h
  113. omaha_request_action_unittest.cc
  114. omaha_request_params.cc
  115. omaha_request_params.h
  116. omaha_request_params_unittest.cc
  117. omaha_response.h
  118. omaha_response_handler_action.cc
  119. omaha_response_handler_action.h
  120. omaha_response_handler_action_unittest.cc
  121. OWNERS
  122. p2p_manager.cc
  123. p2p_manager.h
  124. p2p_manager_unittest.cc
  125. payload_constants.cc
  126. payload_constants.h
  127. payload_state.cc
  128. payload_state.h
  129. payload_state_interface.h
  130. payload_state_unittest.cc
  131. payload_verifier.cc
  132. payload_verifier.h
  133. postinstall_runner_action.cc
  134. postinstall_runner_action.h
  135. postinstall_runner_action_unittest.cc
  136. prefs.cc
  137. prefs.h
  138. prefs_interface.h
  139. prefs_unittest.cc
  140. proxy_resolver.cc
  141. proxy_resolver.h
  142. real_system_state.cc
  143. real_system_state.h
  144. run_unittests
  145. sample_omaha_v3_response.xml
  146. shill_proxy.cc
  147. shill_proxy.h
  148. shill_proxy_interface.h
  149. subprocess.cc
  150. subprocess.h
  151. subprocess_unittest.cc
  152. system_state.h
  153. tar_bunzip2.gypi
  154. terminator.cc
  155. terminator.h
  156. terminator_unittest.cc
  157. test_http_server.cc
  158. test_utils.cc
  159. test_utils.h
  160. test_utils_unittest.cc
  161. testrunner.cc
  162. unittest_key.pem
  163. unittest_key2.pem
  164. update_attempter.cc
  165. update_attempter.h
  166. update_attempter_unittest.cc
  167. update_engine.conf
  168. update_engine.gyp
  169. update_engine_client.cc
  170. update_metadata.proto
  171. UpdateEngine.conf
  172. utils.cc
  173. utils.h
  174. utils_unittest.cc
  175. WATCHLISTS
  176. zip_unittest.cc