summaryrefslogtreecommitdiff
path: root/tests/t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh
Commit message (Collapse)AuthorAgeFilesLines
* maint: Update copyright statements to 2022Brian C. Lane2023-03-241-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2022Brian C. Lane2022-03-231-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2021Brian C. Lane2021-01-181-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2020Brian C. Lane2020-12-111-1/+1
| | | | By running make update-copyright
* maint: Update copyright statements to 2019Brian C. Lane2019-08-121-1/+1
| | | | By running make update-copyright
* maint: run "make update-copyright"Jim Meyering2014-05-251-1/+1
|
* maint: update all copyright year number rangesJim Meyering2013-01-061-1/+1
| | | | Run "make update-copyright".
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* maint: update copyright year ranges to include 2011Jim Meyering2011-02-221-1/+1
| | | | Run "make update-copyright".
* tests: switch from t-lib.sh to init.shJim Meyering2010-11-201-7/+1
| | | | | | | | | | | | | | | | | | | | | | * tests/init.cfg: Source t-local.sh. * tests/t-local.sh: Replace trap so that we always run scsi_debug_cleanup_, regardless of the cleanup_ function. Replace each snippet like this: -if test "$VERBOSE" = yes; then - set -x - parted --version -fi - -: ${srcdir=.} -. $srcdir/t-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../parted Use this command (LHS elided, because it was too long): git grep -l 'srcdir/t-lib.sh'|xargs perl -p0i -e \ 's!...!. "\${srcdir=.}/init.sh"; path_prepend_ ../parted\n!' * tests/t3310-flags.sh: Adjust manually, since the snippet didn't quite match.
* tests: remove fail=0 initializationsJim Meyering2010-11-201-2/+0
| | | | Now, this is done in init.sh.
* gpt: "read-only" operation could clobber the pMBR in another wayJim Meyering2010-02-101-0/+56
A read-only operation like "parted $dev print" would overwrite $dev's pMBR when exactly one of the primary and backup tables was corrupt. * libparted/labels/gpt.c (gpt_read): Clear "write_back" in those two cases. Hans De Goede spotted this bug by inspection. * NEWS (Bug fixes): Mention it. * tests/t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh: New test. * tests/Makefile.am (TESTS): Add t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh.