parent
9032bbbd06
commit
09a42250db
1 changed files with 8 additions and 0 deletions
|
@ -20,4 +20,12 @@ class Libzip < Formula
|
||||||
"CXXFLAGS=#{ENV.cflags}"
|
"CXXFLAGS=#{ENV.cflags}"
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
touch "file1"
|
||||||
|
system "zip", "file1.zip", "file1"
|
||||||
|
touch "file2"
|
||||||
|
system "zip", "file2.zip", "file1", "file2"
|
||||||
|
assert_match /\+.*file2/, shell_output("#{bin}/zipcmp -v file1.zip file2.zip", 1)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue