findutils: better test
This commit is contained in:
parent
a6d5bd6b3d
commit
2e97c47bc1
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue