Sha256: 7a9d15c37ad8a311779613ccb5700047fdb9611c10d32d15b78a8f39f312f800
Contents?: true
Size: 476 Bytes
Versions: 19
Compression:
Stored size: 476 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' # TODO: share with Kernel.abort, abort. describe "Process.abort" do platform_is_not :windows do it "terminates execution immediately" do @file = '/tmp/i_exist' File.delete(@file) if File.exist?(@file) pid = Process.fork { Process.abort File.open(@file,'w'){|f| f.write 'rubinius'} } File.exist?(@file).should == false end end end
Version data entries
19 entries across 19 versions & 1 rubygems