commit - b722b578c3c1c0e431b6364f072f341b592695e9
commit + e7a4f28498dabc5556d406a24275c47ef0da8829
blob - 8cecfd1261a47c2764287bbd8e7682d092d3983a
blob + f0ad5bf951b1baec205d94fa938ecd8074ffba43
--- Formula/unreliablefs.rb
+++ Formula/unreliablefs.rb
license "MIT"
head "https://github.com/ligurio/unreliablefs"
+ depends_on "cmake" => :build
+
+ on_linux do
+ depends_on "libfuse"
+ end
+
def install
system "cmake ."
system "make -j"
end
test do
- system bin/"unreliablefs", "-v"
+ system "#{bin}/unreliablefs", "-h"
+
+ assert_match "unreliablefs", shell_output("#{bin}/unreliablefs 2>&1", 10)
end
end