[parted-devel] [PATCH 0/4] Fix backup header check and some tests (v3 or 4 or ...)
Brian C. Lane
bcl at redhat.com
Tue Apr 8 19:12:07 UTC 2014
I think this should work for everyone -- I added a couple new functions to use
in both checks. Now the backup header check works, tests pass, and it is only
re-written to length-1.
Also fixes a couple failing tests (same as previous patchsets).
You can disregard previous patchsets for this.
Brian C. Lane (4):
libparted: Fix check for backup header location
libparted: Use common function to calculate PTE sectors
tests: Add emit_superuser_warning for gpt tests
tests: Use msdos-overlap to setup t0283
libparted/labels/gpt.c | 51 ++++++++++++++++++++++++---------------
tests/msdos-overlap.py | 25 +++++++++++++++++++
tests/t0281-gpt-grow.sh | 3 ++-
tests/t0282-gpt-move-backup.sh | 3 ++-
tests/t0283-overlap-partitions.sh | 46 ++++++-----------------------------
5 files changed, 68 insertions(+), 60 deletions(-)
create mode 100755 tests/msdos-overlap.py
--
1.9.0
More information about the parted-devel
mailing list