about summary refs log tree commit homepage
path: root/test/test_process.rb
blob: a48031295b80fc13df3ab915d4d01ff16e209953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- encoding: binary -*-
# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net>
# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
require './test/helper'
require 'dtas/process'
class TestProcess < Minitest::Unit::TestCase
 include DTAS::Process

 def test_qx_env
   assert_equal "WORLD\n", qx({"HELLO" => "WORLD"}, 'echo $HELLO')
 end
end