OSDN Git Service

tests: hook up new GPT-crc-corrupting script
authorJim Meyering <meyering@redhat.com>
Mon, 19 Oct 2009 16:55:06 +0000 (18:55 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 23 Oct 2009 16:09:41 +0000 (18:09 +0200)
commitf3e3e9a5c702c5b2254f6246fd466e309e60d6ba
tree52352ed438a058e6e4337a1ab1957949a1e5a779
parent03eec0d9a41f67425fc2c83e7f77abb4b37b95ae
tests: hook up new GPT-crc-corrupting script

* tests/Makefile.am (TESTS): Add t0280-gpt-corrupt.sh.
* libparted/labels/gpt.c (gpt_read): Change diagnostic to say that
the PTE CRC mismatch is in the primary table.
* tests/t0280-gpt-corrupt.sh: Tweak diagnostic to match
what the code now prints.
libparted/labels/gpt.c
tests/Makefile.am
tests/t0280-gpt-corrupt.sh