diff options
Diffstat (limited to 'checks')
-rwxr-xr-x | checks/conventional-mdc.test | 1 | ||||
-rwxr-xr-x | checks/defs.inc | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/checks/conventional-mdc.test b/checks/conventional-mdc.test index 3da5d26df..171cb6244 100755 --- a/checks/conventional-mdc.test +++ b/checks/conventional-mdc.test @@ -9,6 +9,7 @@ for ciph in `all_cipher_algos`; do # *BSD's dd can't cope with a count of 0 if test "$i" = "0"; then : >z + my_chtag z else dd if=data-80000 of=z bs=1 count=$i 2>/dev/null fi diff --git a/checks/defs.inc b/checks/defs.inc index ce05ff590..080db3b45 100755 --- a/checks/defs.inc +++ b/checks/defs.inc @@ -112,6 +112,17 @@ echo_n () { # cleanup_files="$cleanup_files $*" #} + +# Special function for zOS. +my_chtag () { + #FIXME: Is there an envvar to test for the OS or do we + # need to resort to a configure test + #if test "$FOO" = "bar"; then + # chtag -tc ISO8859-1 $1 + #fi + : +} + have_pubkey_algo () { if ../g10/gpg --homedir . --version | grep "Pubkey:.*$1" >/dev/null then |