summaryrefslogtreecommitdiff
path: root/tests/t9021-maxima.sh
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix syntax-check complaints about testsBrian C. Lane2019-08-091-1/+1
|
* libparted: Add support for atari partition tablesJohn Paul Adrian Glaubitz2016-12-221-1/+4
| | | | | Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: Brian C. Lane <bcl@redhat.com>
* 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".
* tests: add a test to exercise just-fixed codeJim Meyering2012-06-091-1/+25
| | | | | | | | | | | * tests/print-max.c: Extend to provide coverage of ped_disk_get_max_supported_partition_count, too. * tests/t9021-maxima.sh (max_n_partitions): New function, with naively hard-coded max-number-of-partitions-per-partition-table-type values. Use it to ensure that each expected value matches the actual one. * cfg.mk: Exempt this test's use of error from the syntax-check for unmarked diagnostics.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* tests: use "compare exp out", not "compare out exp"Jim Meyering2011-11-291-1/+1
| | | | | | | | | | | | | | Likewise, when an empty file is expected, use "compare /dev/null out", not "compare out /dev/null". I.e., specify the expected/desired contents via the first file name. Prompted by a suggestion from Bruno Haible in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154 Run these commands: git grep -l -E 'compare [^ ]+ exp' \ |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/' git grep -l -E 'compare [^ ]+ /dev/null' \ |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,'
* 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-1/+0
| | | | Now, this is done in init.sh.
* libparted: remove limits on loop labelsColin Watson2010-08-201-1/+1
| | | | | | | | | | | | | There's no reason to impose any particular limit on loop labels, since they just represent a single large partition. Sector counts over 2^32 are needed for large RAID arrays. Change the limit to 2^64 since that's the upper limit imposed by libparted and it saves us implementing the limit functions separately. This bug appears to have been introduced by commit 2dbc645c. * libparted/labels/pt-limit.gperf: Change limits on "loop" to 2^64. * tests/t9021-maxima.sh: Update for the new loop limit. * NEWS (Bug fixes): Mention it.
* tests: remove unnecessary (duplicate) local var assignmentJim Meyering2010-04-211-1/+0
| | | | * tests/t9021-maxima.sh: Remove duplicate ss=$sector_size_.
* parted: change default alignment to "optimal"Hans de Goede2010-02-101-0/+1
| | | | | | | | | | | | | | | | * NEWS (Changes in behavior): Mention it. * parted/parted.c: Change --align default value to optimal. * tests/t2100-mkswap.sh: Adjust for alignment changes where necessary. * tests/t0220-gpt-msftres.sh: Likewise. * tests/t0280-gpt-corrupt.sh: Likewise. * tests/t2200-dos-label-recog.sh: Likewise. * tests/t2300-dos-label-extended-bootcode.sh: Likewise. * tests/t3000-resize-fs.sh: Likewise. * tests/t4100-msdos-partition-limits.sh: Likewise. * tests/t4100-msdos-starting-sector.sh: Likewise. * tests/t5000-tags.sh: Likewise. * tests/t8000-loop.sh: Likewise. * tests/t9021-maxima.sh: Likewise.
* tests: adjust t9021-maxima not to fail with 2048-byte sectorsJim Meyering2010-01-311-1/+2
| | | | | | * tests/t9021-maxima.sh: At 10,000*512 bytes, the backing file was too small to support a test simulating a sector size of 2048 bytes. Use 10,000*$sector_size bytes instead.
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-081-1/+1
| | | | Run this command: make update-copyright
* tests: exercise the new interfacesJim Meyering2009-12-081-0/+54
* tests/print-max.c: New file. * tests/t9021-maxima.sh: New file. * tests/Makefile.am (TESTS): Add t9021-maxima.sh. (check_PROGRAMS): Add print-max.