aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--checks/Makefile.am9
-rwxr-xr-xchecks/checkit6
-rw-r--r--checks/distfiles10
3 files changed, 12 insertions, 13 deletions
diff --git a/checks/Makefile.am b/checks/Makefile.am
new file mode 100644
index 000000000..4bf639739
--- /dev/null
+++ b/checks/Makefile.am
@@ -0,0 +1,9 @@
+## Process this file with automake to create Makefile.in
+
+TESTS = checkit
+
+TEST_FILES = pubring.asc secring.asc plain-1 plain-2 plain-3o.asc \
+ plain-1.asc plain-2.asc plain-3.asc
+
+EXTRA_DIST = $(TESTS) $(TEST_FILES)
+
diff --git a/checks/checkit b/checks/checkit
index 1cc2f95ba..787da1153 100755
--- a/checks/checkit
+++ b/checks/checkit
@@ -89,12 +89,12 @@ run_g10maint --yes --dearmor -o pubring.g10 pubring.asc
run_g10maint --yes --dearmor -o secring.g10 secring.asc
run_g10maint --yes --dearmor -o plain-3 plain-3o.asc
plain_files="$plain_files plain-3"
-
-
+# make sure all files are created
+echo "$usrpass1" | run_g10 --no-operation
info Checking decryption
for i in $plain_files ; do
- echo "$usrpass1" | run_g10 --passphrase-fd 0 -o y --yes $i.asc
+run_g10 --passphrase-fd 0 -o y --yes $i.asc
cmp $i y || error "$i: mismatch"
done
diff --git a/checks/distfiles b/checks/distfiles
deleted file mode 100644
index 95d9302c0..000000000
--- a/checks/distfiles
+++ /dev/null
@@ -1,10 +0,0 @@
-checkit
-pubring.asc
-secring.asc
-plain-1
-plain-2
-plain-3o.asc
-plain-1.asc
-plain-2.asc
-plain-3.asc
-