1 require 'minitest/autorun'
3 class TestRunPipelineInstance < Minitest::Test
7 def test_run_pipeline_instance_get_help
8 out, err = capture_subprocess_io do
9 system ('arv-run-pipeline-instance -h')
14 def test_run_pipeline_instance_with_no_such_option
15 out, err = capture_subprocess_io do
16 system ('arv-run-pipeline-instance --junk')
21 def test_run_pipeline_instance_for_bogus_template_uuid
22 out, err = capture_subprocess_io do
23 # fails with error SSL_connect error because HOST_INSECURE is not being used
24 # system ('arv-run-pipeline-instance --template bogus-abcde-fghijklmnopqrs input=c1bad4b39ca5a924e481008009d94e32+210')
26 # fails with error: fatal: cannot load such file -- arvados
27 # system ('./bin/arv-run-pipeline-instance --template bogus-abcde-fghijklmnopqrs input=c1bad4b39ca5a924e481008009d94e32+210')