diff options
author | Jim Meyering <meyering@redhat.com> | 2010-05-26 11:33:53 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-05-26 11:33:53 +0200 |
commit | d4201905ab4ed20ec3a5e2aea528835552e84a1d (patch) | |
tree | e0111d56a102657ee7e33c46a93558285d11a453 | |
parent | 5d59808a65dc05c2777afb4b78128ca9db1ea78f (diff) | |
download | coreutils-d4201905ab4ed20ec3a5e2aea528835552e84a1d.tar.xz |
tests: update help-version to work with parted, too
* tests/misc/help-version: Add init code for GNU Parted.
-rwxr-xr-x | tests/misc/help-version | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/misc/help-version b/tests/misc/help-version index 10f93ad30..a84c0ecc4 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 |