1
# definitions for the check scripts
3
#--------------------------------
4
#------ constants ---------------
5
#--------------------------------
7
# Note that usrpass1 is also used in Makefile.am
17
# we use the sub key because we do not yet have the logic to
18
# to derive the first encryption key from a keyblock (I guess)
19
dsa_usrname2="0xCB879DE9"
21
dsa_keyrings="--keyring ./pubring.pkr --secret-keyring ./secring.skr"
24
plain_files="plain-1 plain-2 plain-3"
25
data_files="data-500 data-9000 data-32000 data-80000"
28
# The testscripts expect the original language
34
#--------------------------------
35
#------ utility functions -------
36
#--------------------------------
39
echo "$pgmname: fatal:" $* >&2
44
echo "$pgmname:" $* >&2
49
echo "$pgmname:" $* >&2
55
if test "$echo_n_init" = "no"; then
56
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
57
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
71
echo $echo_n_n "${1}$echo_n_c"
76
# rm $cleanup_files 2>/dev/null || true
77
# echo "#empty" >./options
82
# cleanup_files="$cleanup_files $*"
87
if ../g10/gpg --homedir . --version | grep "Hash:.*$1" >/dev/null
97
#trap cleanup SIGHUP SIGINT SIGQUIT
99
[ -z "$srcdir" ] && fatal "not called from make"
101
GPG="../g10/gpg --homedir . "
103
exec 2> ${pgmname}.log
b'\\ No newline at end of file'