podman/tests/test_podman.yml
Bruno Goncalves 096afbce0b run tests using standard-test-basic role
attempt to run the test also as rootless
2019-07-22 15:04:33 +02:00

21 lines
548 B
YAML

---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
- container
required_packages:
- bats
- podman
- podman-tests
tests:
- root-test:
dir: ./
run: ./test_podman.sh
- rootless-test:
# running the test with su doesn't create the directory for fedora user on /run/user/
# so create it manually
dir: ./
run: mkdir /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora