File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 23
23
end
24
24
25
25
it "returns status zero" do
26
- pid = Process . fork { exit! 0 }
26
+ pid = @object . fork { exit! 0 }
27
27
_ , result = Process . wait2 ( pid )
28
28
result . exitstatus . should == 0
29
29
end
30
30
31
31
it "returns status zero" do
32
- pid = Process . fork { exit 0 }
32
+ pid = @object . fork { exit 0 }
33
33
_ , result = Process . wait2 ( pid )
34
34
result . exitstatus . should == 0
35
35
end
36
36
37
37
it "returns status zero" do
38
- pid = Process . fork { }
38
+ pid = @object . fork { }
39
39
_ , result = Process . wait2 ( pid )
40
40
result . exitstatus . should == 0
41
41
end
42
42
43
43
it "returns status non-zero" do
44
- pid = Process . fork { exit! 42 }
44
+ pid = @object . fork { exit! 42 }
45
45
_ , result = Process . wait2 ( pid )
46
46
result . exitstatus . should == 42
47
47
end
48
48
49
49
it "returns status non-zero" do
50
- pid = Process . fork { exit 42 }
50
+ pid = @object . fork { exit 42 }
51
51
_ , result = Process . wait2 ( pid )
52
52
result . exitstatus . should == 42
53
53
end
You can’t perform that action at this time.
0 commit comments