blob: 57baf777245bde0f9f532eded42684e06b73f3a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require File.expand_path('../../../../spec_helper', __FILE__)
describe "Process::Status#exitstatus" do
before :each do
ruby_exe("exit(42)")
end
it "returns the process exit code" do
$?.exitstatus.should == 42
end
end
|