Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
scrub: fix other style nits
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 committed Mar 22, 2016
1 parent 8a40c29 commit 81a1e10
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Library/Formula/scrub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class Scrub < Formula
desc "Writes patterns on magnetic media to thwart data recovery"
homepage "https://code.google.com/p/diskscrub/"
url "https://github.com/chaos/scrub/releases/download/2.6.1/scrub-2.6.1.tar.gz"
mirror "https://mirrors.kernel.org/debian/pool/main/s/scrub/scrub_2.6.1.orig.tar.gz"
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/s/scrub/scrub_2.6.1.orig.tar.gz"
sha256 "43d98d3795bc2de7920efe81ef2c5de4e9ed1f903c35c939a7d65adc416d6cb8"

bottle do
Expand Down Expand Up @@ -31,9 +31,8 @@ def install
path = testpath/"foo.txt"
path.write "foo"

output = `#{bin}/scrub -r -p dod #{path}`
output = shell_output("#{bin}/scrub -r -p dod #{path}")
assert_match "scrubbing #{path}", output
assert_equal 0, $?.exitstatus
assert !File.exist?(path)
end
end

0 comments on commit 81a1e10

Please sign in to comment.