summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatt Goins <mjgoins@openflows.com>2009-01-31 23:01:59 -0500
committerMatt Goins <mjgoins@openflows.com>2009-01-31 23:01:59 -0500
commitc9f3967acec191bd2ec17bfe60359809bf214d0e (patch)
treef34c83f9a3bee9fbc4f5f83101e1fa82b2562ae0 /tests
parent67ae32b13542bda0da45321db164da407fe76860 (diff)
parent3ed4b369c782b96cfa5b067375585e0e757059f5 (diff)
Merge commit 'dkg/master'
Diffstat (limited to 'tests')
-rwxr-xr-xtests/basic5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/basic b/tests/basic
index 0d78053..b8ab4fc 100755
--- a/tests/basic
+++ b/tests/basic
@@ -173,6 +173,7 @@ echo "### configuring monkeysphere..."
mkdir -p -m 750 "$MONKEYSPHERE_SYSDATADIR"/host
mkdir -p -m 700 "$MONKEYSPHERE_SYSDATADIR"/authentication
mkdir -p -m 700 "$MONKEYSPHERE_SYSDATADIR"/authentication/authorized_keys
+mkdir -p -m 750 "$MONKEYSPHERE_SYSDATADIR"/authentication/sphere
mkdir -p -m 700 "$MONKEYSPHERE_SYSDATADIR"/tmp
cp etc/monkeysphere/monkeysphere-server.conf "$TEMPDIR"/monkeysphere-server.conf
cat <<EOF >> "$TEMPDIR"/monkeysphere-server.conf
@@ -189,10 +190,10 @@ EOF
# create a new host key
echo "### generating server key..."
# add gpg.conf with quick-random
-get_gpg_prng_arg >> "$MONKEYSPHERE_SYSCONFIGDIR"/gnupg-host/gpg.conf
+get_gpg_prng_arg >> "$MONKEYSPHERE_SYSCONFIGDIR"/host/gpg.conf
echo | monkeysphere-host expert gen-key --length 1024 --expire 0 testhost
# remove the gpg.conf
-rm "$MONKEYSPHERE_SYSCONFIGDIR"/gnupg-host/gpg.conf
+rm "$MONKEYSPHERE_SYSCONFIGDIR"/host/gpg.conf
HOSTKEYID=$( monkeysphere-host show-key | grep '^OpenPGP fingerprint: ' | cut -f3 -d\ )