aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to 'checks')
-rw-r--r--checks/ChangeLog4
-rwxr-xr-xchecks/genkey1024.test5
-rwxr-xr-xchecks/mds.test4
3 files changed, 9 insertions, 4 deletions
diff --git a/checks/ChangeLog b/checks/ChangeLog
index 27397c0e4..3217d4145 100644
--- a/checks/ChangeLog
+++ b/checks/ChangeLog
@@ -1,3 +1,7 @@
+Wed Mar 17 13:09:03 CET 1999 Werner Koch <[email protected]>
+
+ * mds.test: replaced the "echo -n"
+
Mon Mar 8 20:47:17 CET 1999 Werner Koch <[email protected]>
* pubdemo.asc, secdemo.asc: New.
diff --git a/checks/genkey1024.test b/checks/genkey1024.test
index ac1868e3d..bd79bcb89 100755
--- a/checks/genkey1024.test
+++ b/checks/genkey1024.test
@@ -13,7 +13,7 @@ fi
LANG=
LANGUAGE=
-expect - <<EOF >/dev/null
+expect - <<EOF >/dev/null
#set timeout -1
set timeout 8
match_max 100000
@@ -89,10 +89,11 @@ Enter passphrase: " { sleep 1; send -- "abc\r" }
expect {
-ex "\r \rRepeat passphrase: " { sleep 1; send -- "abc\r" }
timeout { exit 1 } }
+set timeout 600
expect {
-ex "\r \rWe need to generate a lot of random bytes. It is a good idea to perform\r
some other action (work in another window, move the mouse, utilize the\r
-network and the disks) during the prime generation; this gives the random\r
+the disks) during the prime generation; this gives the random\r
number generator a better chance to gain enough entropy.\r" {}
timeout { exit 1 } }
set timeout 600
diff --git a/checks/mds.test b/checks/mds.test
index 2d04812d4..63bec7c05 100755
--- a/checks/mds.test
+++ b/checks/mds.test
@@ -13,7 +13,7 @@ test_one () {
failed=""
#info Checking message digests
-echo -n "" | $srcdir/run-gpgm -v --print-mds >y
+cat /dev/null | $srcdir/run-gpgm -v --print-mds >y
test_one "MD5" "D41D8CD98F00B204E9800998ECF8427E"
test_one "SHA1" "DA39A3EE5E6B4B0D3255BFEF95601890AFD80709"
test_one "RMD160" "9C1185A5C5E9FC54612808977EE8F548B2258D31"
@@ -25,7 +25,7 @@ fi
[ "$failed" != "" ] && error "$failed failed for empty string"
-echo -n "abcdefghijklmnopqrstuvwxyz" | $srcdir/run-gpgm --print-mds >y
+/bin/echo "abcdefghijklmnopqrstuvwxyz\c" | $srcdir/run-gpgm --print-mds >y
test_one "MD5" "C3FCD3D76192E4007DFB496CCA67E13B"
test_one "SHA1" "32D10C7B8CF96570CA04CE37F2A19D84240D3A89"
test_one "RMD160" "F71C27109C692C1B56BBDCEB5B9D2865B3708DBC"