sparkey: fix audit

sparkey:
  * Use `system "#{bin}/sparkey", "createlog", "-c", "snappy", "test.spl"` instead of `system "#{bin}/sparkey createlog -c snappy test.spl"`
  * Use `system "#{bin}/sparkey", "writehash", "test.spl"` instead of `system "#{bin}/sparkey writehash test.spl"`
master
Miguel Araújo 2017-02-12 08:51:04 -03:00 committed by Mike McQuaid
parent d077a6ed9d
commit b035ea9bf3
1 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@ class Sparkey < Formula
end
test do
system "#{bin}/sparkey createlog -c snappy test.spl"
system "#{bin}/sparkey", "createlog", "-c", "snappy", "test.spl"
system "echo foo.bar | #{bin}/sparkey appendlog -d . test.spl"
system "#{bin}/sparkey writehash test.spl"
system "#{bin}/sparkey", "writehash", "test.spl"
system "#{bin}/sparkey get test.spi foo | grep ^bar$"
end
end