diff options
author | danielsdeleo <dan@opscode.com> | 2012-11-21 11:34:45 -0800 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2012-11-21 13:41:39 -0800 |
commit | b1c662251120d1de0aa87b8bf2f9b142b422b4b6 (patch) | |
tree | 618d735605019cbd2456fc7391c38fe9609d8aca /spec/functional | |
parent | 3a87e360928e4d550e810c2e0cbbd434ed13d1f0 (diff) | |
download | chef-b1c662251120d1de0aa87b8bf2f9b142b422b4b6.tar.gz |
disable ohai plugins for shell func tests
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/shell_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/functional/shell_spec.rb b/spec/functional/shell_spec.rb index f6772f15c3..5d27dc322b 100644 --- a/spec/functional/shell_spec.rb +++ b/spec/functional/shell_spec.rb @@ -60,8 +60,9 @@ describe Chef::Shell do # Windows ruby installs don't (always?) have PTY, # so hide the require here require 'pty' + config = File.expand_path("chef-config.rb", CHEF_SPEC_DATA) path_to_chef_shell = File.expand_path("../../../bin/chef-shell", __FILE__) - reader, writer, pid = PTY.spawn("#{path_to_chef_shell} #{options}") + reader, writer, pid = PTY.spawn("#{path_to_chef_shell} -c #{config} #{options}") read_until(reader, "chef >") yield reader, writer if block_given? writer.puts('"done"') |