Joel Granados Moreno wrote: > * tests/t4100-msdos-starting-sector.sh : Make sure we are consistent > when displaying starting sector for msdos lables. > --- > tests/Makefile.am | 1 + > tests/t4100-msdos-starting-sector.sh | 91 > ++++++++++++++++++++++++++++++++++ > 2 files changed, 92 insertions(+), 0 deletions(-) > create mode 100755 tests/t4100-msdos-starting-sector.sh > > diff --git a/tests/Makefile.am b/tests/Makefile.am > index 0beedd4..2931e98 100644 > --- a/tests/Makefile.am > +++ b/tests/Makefile.am > @@ -15,6 +15,7 @@ TESTS = \ > t4000-sun-raid-type.sh \ > t4100-msdos-partition-limits.sh \ > t4100-dvh-partition-limits.sh \ > + t4100-msdos-starting-sector.sh \ > t4200-partprobe.sh \ > t5000-tags.sh \ > t6000-dm.sh \ ... > +test_expect_success \ > + 'label the test disk' \ > + 'parted -s $dev mklabel msdos > out 2>&1' > +test_expect_success 'expect no output' 'compare out /dev/null' > + > +# Test the output of print free with no partitions. > +fail=0 > +cat <<EOF > exp || fail=1 > +Model: (file) > +Disk $(pwd)/$dev: 200s > +Sector size (logical/physical): 512B/512B > +Partition Table: msdos > + > +Number Start End Size Type File system Flags > + 32s 127s 96s Free Space
Thanks for adding the test. Would you please adjust this to use parted's -m option and to filter out the "Disk.*:" part? _______________________________________________ parted-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/parted-devel

