1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
5 require 'minitest/autorun'
7 class TestRunPipelineInstance < Minitest::Test
11 def test_run_pipeline_instance_get_help
12 out, err = capture_subprocess_io do
13 system ('arv-run-pipeline-instance -h')
18 def test_run_pipeline_instance_with_no_such_option
19 out, err = capture_subprocess_io do
20 system ('arv-run-pipeline-instance --junk')
25 def test_run_pipeline_instance_for_bogus_template_uuid
26 out, err = capture_subprocess_io do
27 # fails with error SSL_connect error because HOST_INSECURE is not being used
28 # system ('arv-run-pipeline-instance --template bogus-abcde-fghijklmnopqrs input=c1bad4b39ca5a924e481008009d94e32+210')
30 # fails with error: fatal: cannot load such file -- arvados
31 # system ('./bin/arv-run-pipeline-instance --template bogus-abcde-fghijklmnopqrs input=c1bad4b39ca5a924e481008009d94e32+210')