From d9f4074d0f54eb8e3179bd8d2f6de95d106abcaf Mon Sep 17 00:00:00 2001 From: Ishaan Malhi Date: Sat, 25 Apr 2020 20:57:12 -0700 Subject: [PATCH] test: add regression - This PR fixes #745 --- test_cli.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test_cli.py b/test_cli.py index fe6fbb720..4d7b68a9f 100644 --- a/test_cli.py +++ b/test_cli.py @@ -1292,6 +1292,20 @@ def test(ctx): check_contains("Commands for bundles", cl_output) check_equals(cl_output, help_output) +@TestModule.register('executable_file') +def test(ctx): + script_uuid = _run_command([cl, 'upload', test_path('evaluate.sh')]) + expected_exit_code = 0 + run_uuid = _run_command( + [ + cl, + 'run', + ':evaluate.sh', + './evaluate.sh' + ] + ) + + wait(run_uuid, expected_exit_code) @TestModule.register('batch') def test(ctx):