aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-04-28 01:06:33 +0000
committerNIIBE Yutaka <[email protected]>2017-04-28 01:06:33 +0000
commit5c8fe5480964c282540c051b538e812851988422 (patch)
tree61da9fb34cfb67875bea2dc259741c0e9b8ca78f /tests
parentg10: For signing, prefer available card key when no -u option. (diff)
downloadgnupg-5c8fe5480964c282540c051b538e812851988422.tar.gz
gnupg-5c8fe5480964c282540c051b538e812851988422.zip
Spelling fixes in docs and comments.
-- In addition, fix trailing spaces in tests/inittests. GnuPG-bug-id: 3121 Reported-by: ka7 (klemens) Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/gpgscm/tests.scm4
-rwxr-xr-xtests/inittests6
-rw-r--r--tests/openpgp/bug537-test.data.asc2
-rwxr-xr-xtests/openpgp/quick-key-manipulation.scm4
-rw-r--r--tests/pkits/README2
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/gpgscm/tests.scm b/tests/gpgscm/tests.scm
index 31189774a..c6c887fc6 100644
--- a/tests/gpgscm/tests.scm
+++ b/tests/gpgscm/tests.scm
@@ -236,7 +236,7 @@
;; (letfd <bindings> <body>)
;;
;; Bind all variables given in <bindings> and initialize each of them
-;; to the given initial value, and close them after evaluting <body>.
+;; to the given initial value, and close them after evaluating <body>.
(define-macro (letfd bindings . body)
(let bind ((bindings' bindings))
(if (null? bindings')
@@ -305,7 +305,7 @@
;;
;; Bind all variables given in <bindings>, initialize each of them to
;; a string representing an unique path in the filesystem, and delete
-;; them after evaluting <body>.
+;; them after evaluating <body>.
(define-macro (lettmp bindings . body)
(let bind ((bindings' bindings))
(if (null? bindings')
diff --git a/tests/inittests b/tests/inittests
index 1a51bdfc5..6fbccfb0f 100755
--- a/tests/inittests
+++ b/tests/inittests
@@ -65,10 +65,10 @@ fi
echo gnupg-test-directory > testdir.stamp
-# Create the private key directy if it does not exists and copy
+# Create the private key directly if it does not exists and copy
# the sample keys.
[ -d private-keys-v1.d ] || mkdir private-keys-v1.d
-for i in ${private_keys}; do
+for i in ${private_keys}; do
cat ${srcdir}/samplekeys/$i.key >private-keys-v1.d/$i.key
done
@@ -94,6 +94,6 @@ EOF
# Make sure that the sample certs are available but ignore errors here
# because we are not a test script.
-for i in ${sample_certs}; do
+for i in ${sample_certs}; do
$GPGSM --import ${srcdir}/samplekeys/$i || true
done
diff --git a/tests/openpgp/bug537-test.data.asc b/tests/openpgp/bug537-test.data.asc
index 130dd5b9f..b6b02e9dd 100644
--- a/tests/openpgp/bug537-test.data.asc
+++ b/tests/openpgp/bug537-test.data.asc
@@ -1,5 +1,5 @@
This is a binary (gzip compressed) file which exhibits a problem with
-the zlib decryptor. See encr-data.c:decrypt_data for a decription of
+the zlib decryptor. See encr-data.c:decrypt_data for a description of
the problem we solved with 1.9.92 (1.4.6). It is not easy to produce
such files, but this one works. The source file is also in the BTS
under the name check-data-410-1.data. The result of the decryption
diff --git a/tests/openpgp/quick-key-manipulation.scm b/tests/openpgp/quick-key-manipulation.scm
index 8d14ae166..c21abfee2 100755
--- a/tests/openpgp/quick-key-manipulation.scm
+++ b/tests/openpgp/quick-key-manipulation.scm
@@ -79,7 +79,7 @@
;; XXX I don't know how to verify this. The keylisting does not seem
;; to indicate the primary UID.
-(info "Checking that we get an error making non-existant user ID the primary one.")
+(info "Checking that we get an error making non-existent user ID the primary one.")
(catch '()
(call-check `(,@GPG --quick-set-primary-uid ,(exact alpha) ,charlie))
(error "Expected an error, but get none."))
@@ -87,7 +87,7 @@
(info "Checking that we can revoke a user ID...")
(call-check `(,@GPG --quick-revoke-uid ,(exact bravo) ,alpha))
-(info "Checking that we get an error revoking a non-existant user ID.")
+(info "Checking that we get an error revoking a non-existent user ID.")
(catch '()
(call-check `(,@GPG --quick-revoke-uid ,(exact bravo) ,charlie))
(error "Expected an error, but get none."))
diff --git a/tests/pkits/README b/tests/pkits/README
index 17f03eae4..06aa97b9e 100644
--- a/tests/pkits/README
+++ b/tests/pkits/README
@@ -7,7 +7,7 @@ http://csrc.nist.gov/pki/testing/x509paths.html .
README - this file.
PKITS_data.tar.bz2 - the original ZIP file, repackaged as a tarball.
Makefile.am - Part of our build system.
-import-all-certs - Run a simple import test on all certifcates
+import-all-certs - Run a simple import test on all certificates
validate-all-certs - Run an import and validate test on all certificates
signature-verification - PKITS test 4.1
validity-periods - PKITS test 4.2