Skip to content

Commit

Permalink
test/filemagic_test.rb (test_check_compiled): Skip on older libmagic.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Feb 4, 2015
1 parent efa43d6 commit a5f91fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/filemagic_test.rb
Expand Up @@ -68,6 +68,7 @@ def test_check
end

def test_check_compiled
return if MAGIC_VERSION <= 5.09
fm = FileMagic.new(FileMagic::MAGIC_NONE)
res = silence_stderr { fm.check(path_to('perl.mgc')) }
fm.close
Expand Down

0 comments on commit a5f91fb

Please sign in to comment.