tmt
tmt copied to clipboard
Boundaries for copying files
Test /tests/discover/no-git-needed uses tmt --root tests in repo like
repo
├── foo
├── .git
└── tests
├── .fmf
For discover -h fmf --sync-repo is assumed that foo file (and .git) is copied.
Is that correct though? When one specifies 'root' explicitly, shouldn't tmt stop at fmf root boundary?
In this test case I'd say there is no git to copy (it is parent of 'tests' directory and by --root tests tmt is forbidden to look above it.
As discussed it should be clarified in the documentation how does discover behave when:
- fmf root is the same as git root
- fmf root is a child of git root