Could be hard to implement as test can be any bash script but:
If test references a file, it would be nice if tmt tests lint would check its existence - at least for files which are relative to the path
Use case: test: ./this_file but rename/move the this_file within fmf root - running tmt lint just checks that the path directory exists.
Feature can be 'one huge can of worms' as test can be bash script without any files in it or access files created in prepare / dist-git step...
Some examples which could be hard to lint:
test: echotest: FOO=bar echotest: ls /usr/bin/SOMETHING
`test: "long bash script..."
Could be hard to implement as
test
can be any bash script but: If test references a file, it would be nice iftmt tests lint
would check its existence - at least for files which are relative to thepath
Use case:
test: ./this_file
but rename/move the this_file within fmf root - runningtmt lint
just checks that thepath
directory exists.Feature can be 'one huge can of worms' as test can be bash script without any files in it or access files created in prepare / dist-git step...
Some examples which could be hard to lint:
test: echo
test: FOO=bar echo
test: ls /usr/bin/SOMETHING
`test: "long bash script..."