Sha256: f3c70b03e9c18071cf558d76eab7282eaa09b41b159962d97f131484898a0793
Contents?: true
Size: 380 Bytes
Versions: 6
Compression:
Stored size: 380 Bytes
Contents
shared_context 'forked spec' do around do |example| read, write = IO.pipe pid = fork do $stdout.sync = true $stderr.sync = true res = example.run Marshal.dump(res, write) write.close end Process.waitpid2 pid res = Marshal.load(read) example.example.send :set_exception, res if res && res.to_s != '' read.close end end
Version data entries
6 entries across 6 versions & 1 rubygems