summaryrefslogtreecommitdiff
path: root/tests/tstunt/gpg-locked
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 16:37:40 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-01-07 17:24:43 +0000
commitce1a7920972a8f72053577660205ec33c792beb0 (patch)
tree68fec4cb8f4550375cfb5d9cbd814ea080c36a51 /tests/tstunt/gpg-locked
parent3d15c2615f907ea17f09ebd9ee1970c9d05eeb96 (diff)
test suite: gnupg: Fix sleep length in apt-get gpg --import case
This was supposed to sleep for 5 seconds _instead_. This is a kind-of-expected error and it's best to carry on a bit quicker. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tstunt/gpg-locked')
-rwxr-xr-xtests/tstunt/gpg-locked3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tstunt/gpg-locked b/tests/tstunt/gpg-locked
index 9dfda26..1b6cc11 100755
--- a/tests/tstunt/gpg-locked
+++ b/tests/tstunt/gpg-locked
@@ -41,10 +41,9 @@ else
exec >/dev/tty
printf "%s\n" "$*"
' x "GNUPG WRAPPER - TROUBLE - $HOME $GNUPGHOME - FAILED $rc $attempt $stdin_tmp_bytes $*"
+ sleep 10
fi
-sleep 10
-
done
exit 127