Sha256: f2afc28c2714b9b24e3ecf389dfd0f20c3f807a32516a3bcd91c8520c4c2078d
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/unittest_helper') require 'fileutils' include Pmux::FixCmdLine class TestFixCmdLine < Test::Unit::TestCase def test_fix_cmd_line mapper = 'cat' res = fix_cmd_line 'grep PAT', 'input' ae "grep PAT input 2>/dev/null", res res = fix_cmd_line 'grep PAT|uniq', 'input' ae "grep PAT input 2>/dev/null|uniq", res res = fix_cmd_line 'grep PAT|uniq', 'input', 'output' ae "grep PAT input 2>/dev/null|uniq >>output", res end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pmux-0.1.3 | test/test_fixcmd.rb |
pmux-0.1.2 | test/test_fixcmd.rb |
pmux-0.1.1 | test/test_fixcmd.rb |
pmux-0.1.0 | test/test_fixcmd.rb |