findutils: better test

This commit is contained in:
Xu Cheng 2015-10-08 16:59:37 +08:00
parent a6d5bd6b3d
commit 2e97c47bc1

View file

@ -29,6 +29,10 @@ class Findutils < Formula
end
test do
system "#{bin}/gfind", "--version"
if build.with? "default-names"
system "#{bin}/find", "."
else
system "#{bin}/gfind", "."
end
end
end