Handle people specifying PGP key files with @ in front

This commit is contained in:
Jeff Mitchell
2015-08-25 09:41:45 -07:00
parent d2023234b9
commit ee10f1a565
2 changed files with 4 additions and 1 deletions

View File

@@ -169,7 +169,7 @@ func TestInit_PGP(t *testing.T) {
args := []string{
"-address", addr,
"-key-shares", "2",
"-pgp-keys", tempDir + "/pubkey1," + tempDir + "/pubkey2," + tempDir + "/pubkey3",
"-pgp-keys", tempDir + "/pubkey1,@" + tempDir + "/pubkey2," + tempDir + "/pubkey3",
"-key-threshold", "2",
}