aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pkits
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkits')
-rw-r--r--tests/pkits/ChangeLog5
-rw-r--r--tests/pkits/Makefile.am4
-rw-r--r--tests/pkits/common.sh2
3 files changed, 8 insertions, 3 deletions
diff --git a/tests/pkits/ChangeLog b/tests/pkits/ChangeLog
index a4f35010c..185ff98bc 100644
--- a/tests/pkits/ChangeLog
+++ b/tests/pkits/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-19 Werner Koch <[email protected]>
+
+ * Makefile.am (TESTS_ENVIRONMENT): Use /bin/pwd
+ * common.sh: Ditto.
+
2008-02-19 Werner Koch <[email protected]>
* inittests: Unpack test data onlyu if available.
diff --git a/tests/pkits/Makefile.am b/tests/pkits/Makefile.am
index d28ab8914..6285da43c 100644
--- a/tests/pkits/Makefile.am
+++ b/tests/pkits/Makefile.am
@@ -20,8 +20,8 @@
GPGSM = ../../sm/gpgsm
-TESTS_ENVIRONMENT = GNUPGHOME=`pwd` GPG_AGENT_INFO= LC_ALL=C GPGSM=$(GPGSM) \
- silent=yes
+TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
+ GPGSM=$(GPGSM) silent=yes
testscripts = import-all-certs validate-all-certs \
diff --git a/tests/pkits/common.sh b/tests/pkits/common.sh
index e78456730..ca18b9501 100644
--- a/tests/pkits/common.sh
+++ b/tests/pkits/common.sh
@@ -42,7 +42,7 @@ SCRATCH="scratch.$$.tmp"
MYTIME="20080508T120000"
-if [ "$GNUPGHOME" != "`pwd`" ]; then
+if [ "$GNUPGHOME" != "`/bin/pwd`" ]; then
echo "inittests: please set GNUPGHOME to the tests/pkits directory" >&2
exit 1
fi