
- crypto/external/bsd/heimdal - crypto/external/bsd/libsaslc - crypto/external/bsd/netpgp - crypto/external/bsd/openssl Change-Id: I91dbf05f33e637edf5b9bb408d5baddd7ba8cf75
21 lines
617 B
Plaintext
21 lines
617 B
Plaintext
# $NetBSD: init.at,v 1.3 2009/05/27 06:47:57 lukem Exp $
|
|
|
|
AT_SETUP([init])
|
|
|
|
# Remove any previous testsuite run's $testhomedir
|
|
AT_CHECK([rm -rf $testhomedir], [0], [ignore], [ignore])
|
|
|
|
# Create $testhomedir as fake $HOME/.gnupg
|
|
AT_CHECK([mkdir -m 700 -p $testhomedir], [0], [ignore], [ignore])
|
|
|
|
# Create a gpg.conf
|
|
AT_CHECK([echo "default-key $testuserid" > $testhomedir/gpg.conf],
|
|
[0], [ignore], [ignore])
|
|
|
|
# Import private key for tests
|
|
# XXX: Use GPG until NetPGP's key management is overhauled
|
|
AT_CHECK([gpg --batch --homedir $testhomedir --import < $testprivatekey],
|
|
[0], [ignore], [ignore])
|
|
|
|
AT_CLEANUP
|