diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-25 23:52:24 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-25 23:57:28 +0000 |
commit | 5a966a1ec8662d2e0b9035675a770c6f2c739b7d (patch) | |
tree | 9b49d65769938a5990ae4f15a9e9695ea3050efc /test | |
parent | ef44f1c957a1bae1f22122276535e384506f5279 (diff) | |
download | dtas-5a966a1ec8662d2e0b9035675a770c6f2c739b7d.tar.gz |
This should allow us to more easily transfer user-configured environment variables to helper tools (avprobe/soxi).
Diffstat (limited to 'test')
-rw-r--r-- | test/test_process.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test_process.rb b/test/test_process.rb new file mode 100644 index 0000000..a480312 --- /dev/null +++ b/test/test_process.rb @@ -0,0 +1,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 |