From: Jim Meyering Date: Wed, 26 May 2010 09:33:53 +0000 (+0200) Subject: tests: update help-version to work with parted, too X-Git-Tag: v8.6~156 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4201905ab4ed20ec3a5e2aea528835552e84a1d;p=thirdparty%2Fcoreutils.git tests: update help-version to work with parted, too * tests/misc/help-version: Add init code for GNU Parted. --- diff --git a/tests/misc/help-version b/tests/misc/help-version index 10f93ad308..a84c0ecc4e 100755 --- a/tests/misc/help-version +++ b/tests/misc/help-version @@ -242,6 +242,9 @@ stat_setup () { args=$tmp_in; } unlink_setup () { args=$tmp_in; } lbracket_setup () { args=": ]"; } +parted_setup () { args="-s $tmp_in mklabel gpt" + dd if=/dev/null of=$tmp_in seek=2000; } + # Ensure that each program "works" (exits successfully) when doing # something more than --help or --version. for i in $built_programs; do