tor: better test
This commit is contained in:
parent
8c5be90e41
commit
1bd006e9cc
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@ class Tor < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
system bin/"tor", "--version"
|
||||
pipe_output("script -q /dev/null #{bin}/tor-gencert --create-identity-key", "passwd\npasswd\n")
|
||||
assert (testpath/"authority_certificate").exist?
|
||||
assert (testpath/"authority_signing_key").exist?
|
||||
assert (testpath/"authority_identity_key").exist?
|
||||
end
|
||||
|
||||
def plist; <<-EOS.undent
|
||||
|
|
Loading…
Reference in a new issue