diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2022-03-11 13:27:12 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-26 14:56:27 +0000 |
commit | 283c13f7d5ce15f64292773ec4fd25268aecb830 (patch) | |
tree | e94a146d382d2be209e872cc4c8d7681d5fa6c39 | |
parent | f6d803b3799588a9ed5373ef0814c8ba9a6ed6fc (diff) |
CI: Add current directory to PATH because security update for QProcess
Because of 29fceed2ffb41954a63001414bd042611f2d4980 now all tests that
use binaries local to test folder will fail. Add current directory to
ssh connection PATH to fix this. On other platforms than QNX, this
happens to work as function qt_internal_collect_command_environment
sets the absolute directory path of external binary to PATH. Still tests
would fail when running directly tst_* binary instead via ctest.
Change-Id: I670d78a2a4362dc8d6faf271f2ad2a90ce2a8aa9
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit c1e7cf5c256a1dc93b97285f934b725fefd40359)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/data_files.custom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/data_files.custom b/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/data_files.custom index c04db6f1..cba74f1f 100644 --- a/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/data_files.custom +++ b/coin/provisioning/common/linux/qnx_qemu_build_files/local/snippets/data_files.custom @@ -3,7 +3,7 @@ home/root/.ssh/environment = { TERM=qansi -PATH=__IFS_PATH__:/system/xbin +PATH=__IFS_PATH__:/system/xbin:. #LD_LIBRARY_PATH=__PROC_LIB__:/home/qt/work/install/target/lib #QSG_RHI_BACKEND=software #QT_QPA_PLATFORM=offscreen |