diff --git a/Formula/tor.rb b/Formula/tor.rb index e8dc13c1a5..feab981afd 100644 --- a/Formula/tor.rb +++ b/Formula/tor.rb @@ -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 @@ -99,4 +92,11 @@ class Tor < Formula 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