66b6dfc61c
Adding initial set of basic functionality tests for ksh according to the CI wiki [1] and the Standard Test Interface [2]. Instead of copying the test code this pull request links tests from the new shared shell tests repo and fetches them using the "repositories" option [3]. [1] https://fedoraproject.org/wiki/CI [2] https://fedoraproject.org/wiki/Changes/InvokingTests [3] https://pagure.io/standard-test-roles/pull-request/101
42 lines
870 B
YAML
42 lines
870 B
YAML
---
|
|
|
|
# Tests that run in classic context
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-beakerlib
|
|
tags:
|
|
- classic
|
|
repositories:
|
|
- repo: "https://src.fedoraproject.org/tests/shell.git"
|
|
dest: "shell"
|
|
tests:
|
|
- shell/func
|
|
- shell/login
|
|
- shell/smoke
|
|
environment:
|
|
PACKAGES: ksh
|
|
SH_BIN: ksh
|
|
required_packages:
|
|
- ksh
|
|
- expect # login requires expect
|
|
- which # smoke requires which
|
|
|
|
# Tests that run in container
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-beakerlib
|
|
tags:
|
|
- container
|
|
repositories:
|
|
- repo: "https://src.fedoraproject.org/tests/shell.git"
|
|
dest: "shell"
|
|
tests:
|
|
- shell/func
|
|
- shell/smoke
|
|
environment:
|
|
PACKAGES: ksh
|
|
SH_BIN: ksh
|
|
required_packages:
|
|
- ksh
|
|
- which # smoke requires which
|