tests/test-https.t
changeset 25415 21b536f01eda
parent 25413 4d705f6a3c35
child 25428 51e7acc34b0a
equal deleted inserted replaced
25414:f7ccbc2776b7 25415:21b536f01eda
   383 
   383 
   384   $ cat << EOT >> $HGRCPATH
   384   $ cat << EOT >> $HGRCPATH
   385   > [auth]
   385   > [auth]
   386   > l.prefix = localhost
   386   > l.prefix = localhost
   387   > l.cert = client-cert.pem
   387   > l.cert = client-cert.pem
       
   388   > l.key = client-key.pem
   388   > EOT
   389   > EOT
   389 
   390 
   390   $ P=`pwd` hg id https://localhost:$HGPORT/ \
   391   $ P=`pwd` hg id https://localhost:$HGPORT/ \
   391   > --config auth.l.key=client-key-decrypted.pem
   392   > --config auth.l.key=client-key-decrypted.pem
   392   5fed3813f7f5
   393   5fed3813f7f5
   393 
   394 
       
   395   $ printf '1234\n' | env P=`pwd` hg id https://localhost:$HGPORT/ \
       
   396   > --config ui.interactive=True --config ui.nontty=True
       
   397   passphrase for client-key.pem: 5fed3813f7f5
       
   398 
       
   399   $ env P=`pwd` hg id https://localhost:$HGPORT/
       
   400   abort: error: * (glob)
       
   401   [255]
       
   402 
   394 #endif
   403 #endif