diff options
author | Werner Koch <wk@gnupg.org> | 1998-09-28 21:25:31 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-09-28 21:25:31 +0200 |
commit | 41fa8a3345aecf9b85c1eebb33f9b961a558db1c (patch) | |
tree | 4f5745dc77207f40dabd7f9a176b7255e8994223 /checks/genkey1024.test | |
parent | . (diff) | |
download | gnupg2-41fa8a3345aecf9b85c1eebb33f9b961a558db1c.tar.xz gnupg2-41fa8a3345aecf9b85c1eebb33f9b961a558db1c.zip |
*** empty log message ***
Diffstat (limited to 'checks/genkey1024.test')
-rwxr-xr-x | checks/genkey1024.test | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/checks/genkey1024.test b/checks/genkey1024.test index 95093895d..e419088f2 100755 --- a/checks/genkey1024.test +++ b/checks/genkey1024.test @@ -2,9 +2,19 @@ . $srcdir/defs.inc || exit 3 + +if which expect ; then + : +else + echo "\"expect\" needed but not found - test skipped" + exit 0 +fi + + + expect - <<EOF #set timeout -1 -set timeout 5 +set timeout 8 match_max 100000 spawn ../g10/gpg --no-batch --quick-random --homedir . --gen-key expect { @@ -86,7 +96,7 @@ 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 number generator a better chance to gain enough entropy.\r" {} timeout { exit 1 } } -set timeout 120 +set timeout 600 expect { -ex "public and secret key created and signed.\r" { exit 0 } eof { exit 1 } |