Commit 4130ac43 authored by Adrian DC's avatar Adrian DC
Browse files

test(console): finish #273 by testing '--debug' success results

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent a789afcb
Loading
Loading
Loading
Loading
Loading
+6 −0
Changes for tests/console/.gitlab-ci.yml: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -7,3 +7,9 @@ stages:
  stage: console
  script:
    - echo 'Job 1'

'Job 2':
  stage: console
  script:
    - echo 'Job 2'
    - 'false'
+3 −0
Changes for tests/console/test.sh: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,3 +14,6 @@ timeout 10 timeout -k 5 2 gitlabci-local --bash 'Job 1' </dev/null && exit 1 ||
timeout 10 timeout -k 5 2 gitlabci-local --bash --no-console 'Job 1' && exit 1 || true
timeout 15 timeout -k 12 10 pexpect-executor --wait 2 --press exit --enter -- gitlabci-local --bash 'Job 1' && exit 1 || true
timeout 15 timeout -k 12 10 pexpect-executor -- timeout 3 gitlabci-local --bash --no-console 'Job 1' && exit 1 || true
timeout 10 timeout -k 5 2 gitlabci-local --bash 'Job 2' </dev/null && exit 1 || true
timeout --preserve-status 10 timeout --preserve-status -k 5 2 gitlabci-local --debug 'Job 1' </dev/null
timeout --preserve-status 10 timeout --preserve-status -k 5 2 gitlabci-local --debug 'Job 2' </dev/null && exit 1 || true