diff options
author | Werner Koch <wk@gnupg.org> | 1998-12-10 20:20:47 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-12-10 20:20:47 +0100 |
commit | af6e96e4f918169508acd8a710309cf617eff3c1 (patch) | |
tree | be313d86fcf1e63ae95686216e149e3aac770749 /checks | |
parent | See ChangeLog: Wed Dec 9 13:41:06 CET 1998 Werner Koch (diff) | |
download | gnupg2-af6e96e4f918169508acd8a710309cf617eff3c1.tar.xz gnupg2-af6e96e4f918169508acd8a710309cf617eff3c1.zip |
See ChangeLog: Thu Dec 10 20:15:36 CET 1998 Werner Koch
Diffstat (limited to 'checks')
-rwxr-xr-x | checks/genkey1024.test | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/checks/genkey1024.test b/checks/genkey1024.test index b67626da7..e613160f5 100755 --- a/checks/genkey1024.test +++ b/checks/genkey1024.test @@ -13,18 +13,16 @@ fi LANG= LANGUAGE= - expect - <<EOF #set timeout -1 set timeout 8 match_max 100000 spawn ../g10/gpg --no-batch --quick-random --homedir . --gen-key -expect { +expect { -exact "Please select what kind of key you want:\r (1) DSA and ElGamal (default)\r - (2) ElGamal (sign and encrypt)\r - (4) DSA (sign only)\r - (5) ElGamal in a v3 packet\r + (2) DSA (sign only)\r + (4) ElGamal (sign and encrypt)\r Your selection? " { send -- "1\r" } timeout { exit 1 } } expect { @@ -51,7 +49,7 @@ expect { -exact "1\r \r \rKey expires at " { } timeout { exit 1 } } -expect { +expect { -re "(.*)\r " {} timeout { exit 1 } } @@ -91,7 +89,7 @@ Enter passphrase: " { sleep 1; send -- "abc\r" } expect { -ex "\r \rRepeat passphrase: " { sleep 1; send -- "abc\r" } timeout { exit 1 } } -expect { +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 @@ -105,3 +103,4 @@ expect { exit 1 EOF +#*-*wedit:notab*-* |