Announcement

Collapse
No announcement yet.

Trivial gnupg test fix

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Found in git, thanks as always.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment

    Working...
    X