Sha256: dd11ba7470b3836fb16b81721bccd23d2298791f58eafe59d9a7f97877ad6572
Contents?: true
Size: 576 Bytes
Versions: 87
Compression:
Stored size: 576 Bytes
Contents
require 'spec_helper' describe Puppet::Util::Execution do describe "#execpipe" do it "should set LANG to C avoid localized output", :if => !Puppet.features.microsoft_windows? do out = "" Puppet::Util::Execution.execpipe('echo $LANG'){ |line| out << line.read.chomp } expect(out).to eq("C") end it "should set LC_ALL to C avoid localized output", :if => !Puppet.features.microsoft_windows? do out = "" Puppet::Util::Execution.execpipe('echo $LC_ALL'){ |line| out << line.read.chomp } expect(out).to eq("C") end end end
Version data entries
87 entries across 87 versions & 1 rubygems