Tests: fix OPC-UA test when run from repo.
project_files directory isn't commited because empty,
test fails if project_files is missing.
--- a/tests/cli_tests/opcua_test_encrypted.bash Tue Oct 11 15:02:07 2022 +0200
+++ b/tests/cli_tests/opcua_test_encrypted.bash Tue Oct 11 15:07:14 2022 +0200
@@ -55,8 +55,9 @@
EOF
SERVER_PID=$!
-cp my_cert.der my_private_key.pem \
- $BEREMIZPATH/tests/projects/opcua_client_encrypted/project_files
+PROJECT_FILES_DIR=$BEREMIZPATH/tests/projects/opcua_client_encrypted/project_files
+mkdir $PROJECT_FILES_DIR
+cp my_cert.der my_private_key.pem $PROJECT_FILES_DIR
# Start PLC with opcua test
setsid $BEREMIZPYTHONPATH $BEREMIZPATH/Beremiz_cli.py -k \