diff options
Diffstat (limited to 'test/fmf/integration-tests/test.sh')
-rwxr-xr-x | test/fmf/integration-tests/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fmf/integration-tests/test.sh b/test/fmf/integration-tests/test.sh index f82961f959..aff79340f7 100755 --- a/test/fmf/integration-tests/test.sh +++ b/test/fmf/integration-tests/test.sh @@ -145,8 +145,8 @@ mkosi -f sandbox \ --no-stdsplit \ --num-processes "$NPROC" && EC=0 || EC=$? -find build/meson-logs -type f -exec mv {} "$TMT_TEST_DATA" \; -find build/test/journal -type f -exec mv {} "$TMT_TEST_DATA" \; +[[ -d build/meson-logs ]] && find build/meson-logs -type f -exec mv {} "$TMT_TEST_DATA" \; +[[ -d build/test/journal ]] && find build/test/journal -type f -exec mv {} "$TMT_TEST_DATA" \; popd |