diff --git a/maxscale-system-test/mdbci/run_test.sh b/maxscale-system-test/mdbci/run_test.sh index 2aedba07a..9a927205f 100755 --- a/maxscale-system-test/mdbci/run_test.sh +++ b/maxscale-system-test/mdbci/run_test.sh @@ -109,7 +109,8 @@ fi if [[ "$name" =~ '-gcov' ]] then ssh $sshopt 'cd /tmp/build && lcov --gcov-tool=$(command -v gcov) -c -d . -o lcov.info && genhtml -o /tmp/gcov-report/ lcov.info' - rsync -az --delete -e "ssh $scpopt" $sshuser@$IP:/tmp/gcov-report/ ./${logs_publish_dir} + mkdir -p ${logs_publish_dir}/coverage/ + rsync -a --delete -e "ssh $scpopt" $sshuser@$IP:/tmp/gcov-report/ ${logs_publish_dir}/coverage/ fi cp core.* ${logs_publish_dir}