diff options
Diffstat (limited to 'gcr/tests/files/gnupg-mock/mock-with-homedir')
-rwxr-xr-x | gcr/tests/files/gnupg-mock/mock-with-homedir | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcr/tests/files/gnupg-mock/mock-with-homedir b/gcr/tests/files/gnupg-mock/mock-with-homedir deleted file mode 100755 index c537e03a..00000000 --- a/gcr/tests/files/gnupg-mock/mock-with-homedir +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# This script is used with test-gnupg-process -set -euf - -HOMEDIR= - -# Not real 'long' option parsing, but good enough for this -while [ $# -gt 1 ]; do - if [ "$1" = --homedir ]; then - HOMEDIR=$2 - shift - fi - shift -done - -# No homedir passed :( -if [ -z "$HOMEDIR" ]; then - exit 22 -fi - -echo "DIR: $HOMEDIR" |