Added test for invalid env exec option
This commit is contained in:
parent
693378f105
commit
33aaa2aa15
@ -338,6 +338,10 @@ class TestProcess < Test::Unit::TestCase
|
|||||||
ensure
|
ensure
|
||||||
ENV["hmm"] = old
|
ENV["hmm"] = old
|
||||||
end
|
end
|
||||||
|
|
||||||
|
assert_raise_with_message(ArgumentError, /fo=fo/) {
|
||||||
|
system({"fo=fo"=>"ha"}, *ENVCOMMAND)
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_execopt_env_path
|
def test_execopt_env_path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user