diff options
author | Jim Meyering <meyering@redhat.com> | 2012-06-09 17:26:21 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-06-09 19:00:33 +0200 |
commit | e38df2d81f0a4647711ffeb92a32c99e7ce9a92d (patch) | |
tree | 334b68706d7b04d1eeee89669886d891ce090cfe /cfg.mk | |
parent | 4ac1c02b590668c93afdb48900e0858de58cda3a (diff) | |
download | parted-e38df2d81f0a4647711ffeb92a32c99e7ce9a92d.tar.gz |
tests: add a test to exercise just-fixed code
* 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.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -69,3 +69,5 @@ exclude_file_name_regexp--sc_prohibit_always-defined_macros = \ exclude_file_name_regexp--sc_prohibit_path_max_allocation = \ ^libparted/arch/beos\.c$$ + +exclude_file_name_regexp--sc_unmarked_diagnostics = ^tests/print-max\.c$$ |