Merge lp://qastaging/~larsks/cloud-utils/bug-1807171 into lp://qastaging/cloud-utils
Proposed by
Lars Kellogg-Stedman
Status: | Merged |
---|---|
Merged at revision: | 339 |
Proposed branch: | lp://qastaging/~larsks/cloud-utils/bug-1807171 |
Merge into: | lp://qastaging/cloud-utils |
Diff against target: |
112 lines (+96/-1) 2 files modified
bin/growpart (+1/-1) test/test-growpart-start-matches-size (+95/-0) |
To merge this branch: | bzr merge lp://qastaging/~larsks/cloud-utils/bug-1807171 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Review via email:
|
Commit message
growpart: fix bug occurring if start sector and size were the same.
The existing sed expression would erroneously change the start sector
of a partition, rather than the size, if the start sector and size
were identical. This commit modifies the sed expression so that it
will only operate on the final match in the line.
To post a comment you must log in.
Ugh, so, the first stab a test is invalid because it only checks the output of growpart, and growpart lies. I'll submit an update in a moment.