Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Issue 5373008: Add testPartialUpdate, testCorruptedUpdate. (Closed)

Created:
10 years ago by dgarrett
Modified:
9 years, 7 months ago
Reviewers:
adlr, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Add testPartialUpdate, testCorruptedUpdate. Add two new tests that test update-engine handling of a corrupted image, or a truncated image. BUG=chromium-os:9502 TEST=Ran against Dell L13, Mario Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=969a673

Patch Set 1 #

Patch Set 2 : Fixed paths in comments. #

Patch Set 3 : Restore a missing import. #

Total comments: 30

Patch Set 4 : Code review changes and fixes for VMs. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -25 lines) Patch
M bin/cros_au_test_harness.py View 1 2 3 12 chunks +147 lines, -23 lines 1 comment Download
M bin/cros_run_vm_update View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
dgarrett
This is the first half of the new tests. They depend on two canned images ...
10 years ago (2010-11-30 22:55:38 UTC) #1
dgarrett
10 years ago (2010-11-30 22:55:46 UTC) #2
sosa
Sweet, this looks nice. Mostly nits http://codereview.chromium.org/5373008/diff/6001/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5373008/diff/6001/bin/cros_au_test_harness.py#newcode51 bin/cros_au_test_harness.py:51: self.download = os.path.join(self.crosutilsbin, ...
10 years ago (2010-12-01 18:37:39 UTC) #3
dgarrett
There were problems with these tests of VMs that are now fixed. The other changes ...
10 years ago (2010-12-02 22:20:19 UTC) #4
sosa
10 years ago (2010-12-03 01:07:38 UTC) #5
LGTM w/ nit

http://codereview.chromium.org/5373008/diff/10001/bin/cros_au_test_harness.py
File bin/cros_au_test_harness.py (right):

http://codereview.chromium.org/5373008/diff/10001/bin/cros_au_test_harness.py...
bin/cros_au_test_harness.py:209: self.PrepareBase(base_image_path)
use image_path?

Powered by Google App Engine
This is Rietveld 408576698