Add curl library dependency to shell install guide.
[arvados.git] / sdk / cli / test / test_arv-run-pipeline-instance.rb
1 require 'minitest/autorun'
2
3 class TestRunPipelineInstance < Minitest::Test
4   def setup
5   end
6
7   def test_run_pipeline_instance_get_help
8     out, err = capture_subprocess_io do
9       system ('arv-run-pipeline-instance -h')
10     end
11     assert_equal '', err
12   end
13
14   def test_run_pipeline_instance_with_no_such_option
15     out, err = capture_subprocess_io do
16       system ('arv-run-pipeline-instance --junk')
17     end
18     refute_equal '', err
19   end
20
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')
25
26       # fails with error: fatal: cannot load such file -- arvados
27           # system ('./bin/arv-run-pipeline-instance --template bogus-abcde-fghijklmnopqrs input=c1bad4b39ca5a924e481008009d94e32+210')
28     end
29     #refute_equal '', err
30     assert_equal '', err
31   end
32
33 end