Sha256: 1829151c7f449f0506dbdacdee8820f085c37164cb266b8e0f18f7358ed0288d
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../lib/pedump') PEDUMP_BINARY = File.expand_path(File.dirname(__FILE__) + '/../bin/pedump') Dir[File.join(SAMPLES_DIR,"bad","*.exe")].each do |fname| describe fname do it "should not cause exception" do system "#{PEDUMP_BINARY} -qqq #{fname} > /dev/null" $?.should be_success end end end
Version data entries
6 entries across 6 versions & 1 rubygems