make sure test sets proper permissions on the admin GNUPGHOME
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 26 Jul 2009 22:59:09 +0000 (18:59 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 26 Jul 2009 22:59:09 +0000 (18:59 -0400)
tests/basic

index 6eb0b2777eb1ee2268a33430c861147f6d9a2e94..dfbe8346a59404d67921b266091d0593bed72131 100755 (executable)
@@ -47,7 +47,7 @@ On debian-derived systems, you can set this up with:
 
 # gpg command for test admin user
 gpgadmin() {
-    chmod 0700 "$TEMPDIR"/admin
+    chmod 0700 "$TEMPDIR"/admin "$TEMPDIR"/admin/.gnupg
     GNUPGHOME="$TEMPDIR"/admin/.gnupg gpg --no-tty "$@"
 }