podman/tests/test_podman.yml
Ed Santiago 20052717cb rootless: 1 step forward, 1 step back
forward: rhbz1740664 (permissions on /dev/net/tun) appears to
be fixed; let's remove the 'modprobe tun' workaround.

back: rootless tests are failing in CI, in a way that I
can't reproduce via 1minutetip. One of the errors is:

   cannot mkdir /run/user/1000/libpod: mkdir /run/user/1000/libpod: no such file or directory

...so let's try, after the mkdir, chowning it to fedora.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2019-09-12 15:18:17 -06:00

23 lines
638 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
timeout: 15m
- 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); chown fedora /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora
timeout: 15m