Results 1 to 2 of 2

Thread: Trivial gnupg test fix

  1. #1
    Join Date
    Apr 2008
    Location
    York, UK
    Posts
    134

    Default Trivial gnupg test fix

    Prevents settings being read from user's home folder (~/.gnupg)

    Code:
    diff --git a/pts/test-resources/gnupg/install.sh b/pts/test-resources/gnupg/install.sh
    index b6f830a..ecafeda 100644
    --- a/pts/test-resources/gnupg/install.sh
    +++ b/pts/test-resources/gnupg/install.sh
    @@ -16,5 +16,5 @@ rm -rf gnupg-1.4.9/
     echo trondheim-pts-1234567890 > passphrase
    
     echo "#!/bin/sh
    -time -f \"Encryption Time: %e Seconds\" ./gnupg_/bin/gpg -c --passphrase-file passphrase -o /dev/null 1gbfile 2>&1" > gnupg
    +time -f \"Encryption Time: %e Seconds\" ./gnupg_/bin/gpg -c --no-options --passphrase-file passphrase -o /dev/null 1gbfile 2>&1" > gnupg
     chmod +x gnupg

  2. #2

    Default

    Found in git, thanks as always.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •