OSDN Git Service

tests: skip a test if Perl's Digest::CRC module is not installed
authorJim Meyering <meyering@redhat.com>
Thu, 10 Nov 2011 18:15:29 +0000 (19:15 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 10 Nov 2011 18:17:34 +0000 (19:17 +0100)
commitc52cf0b120b0767009dd13be1e90dd12b4198641
treedd00f08f7c3d84e0f0f6406bed8ab3a63ac3d0e6
parent41dc96361e58a73f61e1c8bf707a494aafd99d70
tests: skip a test if Perl's Digest::CRC module is not installed

* tests/init.cfg (require_perl_digest_crc_): New function.
* tests/t0210-gpt-resized-partition-entry-array.sh: Use it.
Reported by Keshav P R in
http://thread.gmane.org/gmane.comp.gnu.parted.bugs/10530/focus=10589
tests/init.cfg
tests/t0210-gpt-resized-partition-entry-array.sh