monotone

monotone Commit Details

Date:2010-11-23 00:34:44 (8 years 6 months ago)
Author:Thomas Keller
Branch:net.venge.monotone
Commit:fcffa072151b81e419c1b6eeeeb8029b42941bf3
Parents: b97a29163d6166d6d5e1d15f437f8325ac987070
Message:* tests/dump_private_key: new failing test which shows that mtn

currently does not allow the dump of a private key without a
database reference
Changes:
Atests/dump_private_key
Atests/dump_private_key/__driver__.lua (full)

File differences

tests/dump_private_key/__driver__.lua
1
2
3
4
5
6
7
8
9
10
11
mtn_setup()
check(mtn("au", "generate_key", "foo@bar.com", "bla"), 0, false, false)
check(mtn("privkey", "foo@bar.com"), 0, true, false)
check(qgrep("\\[keypair foo@bar.com\\]", "stdout"))
-- check without a database or workspace
check(nodb_mtn("privkey", "--no-workspace", "foo@bar.com"), 0, true, false)
check(qgrep("\\[keypair foo@bar.com\\]", "stdout"))

Archive Download the corresponding diff file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status