fedora-modularity / meta-test-family

Meta test family (MTF) is a tool to test components of a modular Fedora:
https://docs.pagure.org/modularity/
Other
8 stars 12 forks source link

before run avocado, list tests and find if there are some bad tests #224

Closed jscotka closed 6 years ago

jscotka commented 6 years ago

example output:

mtf -l --url=fedora a c vs ds sd  /root
MTF config dir exists, search for /usr/share/moduleframework/mtf.conf.d/*.yaml
MTF config load: /usr/share/moduleframework/mtf.conf.d/mtf.yaml

ERROR: There are bad tests:
-------------
a: File not found ('a'; '/usr/share/avocado/tests/a')
c: File not found ('c'; '/usr/share/avocado/tests/c')
vs: File not found ('vs'; '/usr/share/avocado/tests/vs')
ds: File not found ('ds'; '/usr/share/avocado/tests/ds')
sd: Is a broken symlink
/root: Is not readable

ls output:

ls  a c vs ds sd  /root
ls: cannot access 'a': No such file or directory
ls: cannot access 'c': No such file or directory
ls: cannot access 'vs': No such file or directory
ls: cannot access 'ds': No such file or directory
sd

ls: cannot open directory '/root': Permission denied