diff options
| author | Jack Nagel | 2013-02-01 23:12:47 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-01 23:38:53 -0600 |
| commit | 6c40c9a8a394c3e1ab994be50cb162d914366d6b (patch) | |
| tree | e22a176a7114f5f53c02eda5a88af707e03913c5 /Library/Formula | |
| parent | 3765b556f818f5e03844627bc8542831b6c500b0 (diff) | |
| download | homebrew-6c40c9a8a394c3e1ab994be50cb162d914366d6b.tar.bz2 | |
nss: use test DSL
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/nss.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/nss.rb b/Library/Formula/nss.rb index 112aa4dff..5b955d8d3 100644 --- a/Library/Formula/nss.rb +++ b/Library/Formula/nss.rb @@ -55,13 +55,11 @@ class Nss < Formula (lib+'pkgconfig/nss.pc').write pkg_file end - def test + test do # See: http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html - mktemp do - File.open('passwd', 'w') {|f| f.write("It's a secret to everyone.") } - system "#{bin}/certutil", "-N", "-d", pwd, "-f", "passwd" - system "#{bin}/certutil", "-L", "-d", pwd - end + File.open('passwd', 'w') {|f| f.write("It's a secret to everyone.") } + system "#{bin}/certutil", "-N", "-d", pwd, "-f", "passwd" + system "#{bin}/certutil", "-L", "-d", pwd end def pkg_file; <<-EOF |
