Fixed missing .electrum directory bug
This commit is contained in:
parent
1a0cb0836f
commit
3892b1c10b
7 changed files with 52 additions and 22 deletions
|
@ -33,6 +33,9 @@ expect {
|
|||
-re {([a-z]+ ?){24}} {
|
||||
test_ok true
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
||||
test_label "Should validate valid BIP39 mnemonic"
|
||||
|
@ -69,6 +72,9 @@ expect {
|
|||
-re {Please type passphrase and press enter} {
|
||||
test_ok true
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
||||
test_label "Should fail to validate invalid BIP39 mnemonic"
|
||||
|
@ -105,4 +111,7 @@ expect {
|
|||
-re {Invalid BIP39 mnemonic} {
|
||||
test_ok true
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,6 +39,9 @@ expect {
|
|||
-re {Secrets do not match} {
|
||||
test_ok
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
||||
test_label "Should fails to backup secret using passphrases that do not match"
|
||||
|
@ -87,6 +90,9 @@ expect {
|
|||
-re {Passphrases do not match} {
|
||||
test_ok
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
||||
test_label "Should backup secret showing passphrase"
|
||||
|
@ -157,6 +163,9 @@ expect {
|
|||
-re {Done} {
|
||||
test_ok
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
||||
test_label "Should restore secret"
|
||||
|
|
|
@ -26,4 +26,7 @@ expect {
|
|||
-re {([a-z]+ ?){24}} {
|
||||
test_ok true
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,6 +50,9 @@ expect {
|
|||
-re {Done} {
|
||||
test_ok
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
||||
test_label "Should secure erase flash drive using single round random overwrite and zero overwrite"
|
||||
|
@ -88,4 +91,7 @@ expect {
|
|||
-re {Done} {
|
||||
test_ok
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,6 +137,9 @@ expect {
|
|||
-re {Done} {
|
||||
test_ok
|
||||
}
|
||||
eof {
|
||||
test_failed
|
||||
}
|
||||
}
|
||||
|
||||
test_label "Should restore secret using Shamir Secret Sharing"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue