Merge lp:~javier.collado/ubuntu-test-cases/bug1087630 into lp:ubuntu-test-cases/server
Status: | Merged |
---|---|
Merge reported by: | James Page |
Merged at revision: | not available |
Proposed branch: | lp:~javier.collado/ubuntu-test-cases/bug1087630 |
Merge into: | lp:ubuntu-test-cases/server |
Diff against target: |
148 lines (+48/-25) 5 files modified
preseeds/minimal-virtual.preseed (+1/-1) preseeds/templates/base (+2/-0) preseeds/templates/minimal-virtual (+3/-0) testsuites/minimal-virtual/test_install_size/tc_control (+1/-1) testsuites/minimal-virtual/test_install_size/test.py (+41/-23) |
To merge this branch: | bzr merge lp:~javier.collado/ubuntu-test-cases/bug1087630 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Max Brustkern (community) | Approve | ||
Javier Collado (community) | Needs Resubmitting | ||
Para Siva (community) | Approve | ||
James Page | Pending | ||
Review via email: mp+142161@code.launchpad.net |
Description of the change
The branch make some changes to the minimal-virtual scenario to make the
install_size test case work.
In particular:
- late command in the preseed is used to gather disk usage before testing
packages (needed by utah) are installed.
- test case script reads the log file with that information instead of running
`df`.
The test case is working now for me when running the test case locally in a VM
with the new preseed.
However, I believe that still the usage in the log file includes the packages
in `pkgsel/include` (`preseed/
`pkgsel/include`), but not the ones that are installed later using `gdebi`, so
the figure isn't completely precise yet.
Not sure if it's really important but do we not need to change the template preseed file, http:// bazaar. launchpad. net/~javier. collado/ ubuntu- test-cases/ bug1087630/ view/head: /preseeds/ templates/ minimal- virtual to include the late command just to be consistent?