summaryrefslogtreecommitdiff
path: root/tests/misc/help-version.sh
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2018-12-27 22:36:08 -0700
committerAssaf Gordon <assafgordon@gmail.com>2018-12-27 23:46:02 -0700
commit2f438fa9f53250fb3c8b39a95eedd627b5569ca4 (patch)
treea5e3dd66f07f768d667ad6412e3235e440eb37fc /tests/misc/help-version.sh
parent21c59d68455e285b6f20509eedc13b026cb4b051 (diff)
downloadcoreutils-2f438fa9f53250fb3c8b39a95eedd627b5569ca4.tar.gz
basenc: A new program complementary to base64/base32
Encodes/decodes data in various common formats: base64,base64url,base32,base32,base16,base2,z85. Discussed here: https://lists.gnu.org/r/coreutils/2018-11/msg00014.html https://lists.gnu.org/r/coreutils/2018-12/msg00019.html * AUTHORS: Add basenc. * README: Reference the new program. * NEWS: Mention the new program. * build-aux/gen-lists-of-programs.sh: Add basenc. * doc/coreutils.texi: (basenc invocation): Document the new command. * man/.gitignore: Ignore the generated man page. * man/basenc.x: A new template, with few examples. * man/local.mk: Reference the new man page. * scripts/git-hooks/commit-msg: Allow basenc as program prefix. * src/.gitignore: Ignore the new binary. * src/basenc.c: (usage): Mention new options. (main): Handle new options. (isbase*, base*_length, base*_encode, base*_decode_ctx): Implement new encoding/decoding formats. * src/local.mk: Add new program. * tests/local.mk: Add new test. * tests/misc/basenc.pl: New tests. * tests/misc/help-version.sh (basenc_setup): use '--version' for default invocation (basenc errors with no parameters).
Diffstat (limited to 'tests/misc/help-version.sh')
-rwxr-xr-xtests/misc/help-version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/misc/help-version.sh b/tests/misc/help-version.sh
index 46a518a0c..b8512a4fc 100755
--- a/tests/misc/help-version.sh
+++ b/tests/misc/help-version.sh
@@ -184,6 +184,7 @@ defid_setup () { args=t; }
basename_setup () { args=$tmp_in; }
dirname_setup () { args=$tmp_in; }
expr_setup () { args=foo; }
+basenc_setup () { args=--version; }
# Punt, in case GNU 'id' hasn't been installed yet.
groups_setup () { args=--version; }