From b035ea9bf35428ec292a4cf93eaca677d1d7810e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Ara=C3=BAjo?= Date: Sun, 12 Feb 2017 08:51:04 -0300 Subject: [PATCH] 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"` --- Formula/sparkey.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/sparkey.rb b/Formula/sparkey.rb index b5237006102..547a319822a 100644 --- a/Formula/sparkey.rb +++ b/Formula/sparkey.rb @@ -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