[parted-devel] [PATCH] tests: skip tests requiring mkfs.hfs if it is not available
Petr Uzel
petr.uzel at suse.cz
Mon Mar 1 16:06:51 UTC 2010
On Mon, Mar 01, 2010 at 04:38:41PM +0100, Petr Uzel wrote:
> On Mon, Mar 01, 2010 at 04:26:00PM +0100, Jim Meyering wrote:
> > Petr Uzel wrote:
> > > Testsuite fails if mkfs.hfs is not installed on the system.
> > > * tests/t-lib.sh (_require_hfs): New function. The mkfs.hfs does
> >
> > Thank you!
> > Would you please adjust that to use something like this instead?
> >
> > ( mkfs.hfs | grep '^usage:' ) > /dev/null 2>&1 \
mkfs.hfs writes to stderr, so I've changed that to
( mkfs.hfs 2>&1 | grep '^usage:' ) > /dev/null
Petr
--
Petr Uzel, openSUSE Boosters Team
IRC: ptr_uzl @ freenode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20100301/36c339f1/attachment.pgp>
More information about the parted-devel
mailing list