--- a/tests/test-https.t Thu May 07 17:02:20 2015 +0900
+++ b/tests/test-https.t Thu May 07 17:15:24 2015 +0900
@@ -385,10 +385,19 @@
> [auth]
> l.prefix = localhost
> l.cert = client-cert.pem
+ > l.key = client-key.pem
> EOT
$ P=`pwd` hg id https://localhost:$HGPORT/ \
> --config auth.l.key=client-key-decrypted.pem
5fed3813f7f5
+ $ printf '1234\n' | env P=`pwd` hg id https://localhost:$HGPORT/ \
+ > --config ui.interactive=True --config ui.nontty=True
+ passphrase for client-key.pem: 5fed3813f7f5
+
+ $ env P=`pwd` hg id https://localhost:$HGPORT/
+ abort: error: * (glob)
+ [255]
+
#endif