tor: test placement fix
Closes #2821. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
33b9e7b341
commit
953fd9f73c
1 changed files with 7 additions and 7 deletions
|
@ -67,13 +67,6 @@ class Tor < Formula
|
|||
|
||||
plist_options :manual => "tor start"
|
||||
|
||||
test do
|
||||
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
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
|
@ -99,4 +92,11 @@ class Tor < Formula
|
|||
</plist>
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
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
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue