* 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.
ped_exception_throw
(PED_EXCEPTION_ERROR,
PED_EXCEPTION_CANCEL,
- _("partition table array (FIXME:which?) CRC mismatch"));
+ _("primary partition table array CRC mismatch"));
goto error_free_ptes;
}
t0202-gpt-pmbr.sh \
t0220-gpt-msftres.sh \
t0250-gpt.sh \
+ t0280-gpt-corrupt.sh \
t0300-dos-on-gpt.sh \
t0400-loop-clobber-infloop.sh \
t1000-mkpartfs.sh \
test_expect_success \
'check for expected diagnostic' \
- 'echo "Error: partition table array CRC mismatch" > exp &&
+ 'echo "Error: primary partition table array CRC mismatch" > exp &&
compare exp err'
test_done