tests/cli_tests/opcua_test_encrypted.bash
branchwxPython4
changeset 3634 db3ea47b0d0b
parent 3631 176e1f218c61
child 3718 7841b651d601
equal deleted inserted replaced
3633:837e7782d83e 3634:db3ea47b0d0b
    53 finally:
    53 finally:
    54     server.stop()
    54     server.stop()
    55 EOF
    55 EOF
    56 SERVER_PID=$!
    56 SERVER_PID=$!
    57 
    57 
    58 cp my_cert.der my_private_key.pem \
    58 PROJECT_FILES_DIR=$BEREMIZPATH/tests/projects/opcua_client_encrypted/project_files
    59    $BEREMIZPATH/tests/projects/opcua_client_encrypted/project_files
    59 mkdir $PROJECT_FILES_DIR
       
    60 cp my_cert.der my_private_key.pem $PROJECT_FILES_DIR
    60 
    61 
    61 # Start PLC with opcua test
    62 # Start PLC with opcua test
    62 setsid $BEREMIZPYTHONPATH $BEREMIZPATH/Beremiz_cli.py -k \
    63 setsid $BEREMIZPYTHONPATH $BEREMIZPATH/Beremiz_cli.py -k \
    63      --project-home $BEREMIZPATH/tests/projects/opcua_client_encrypted build transfer run > >(
    64      --project-home $BEREMIZPATH/tests/projects/opcua_client_encrypted build transfer run > >(
    64 echo "Start PLC loop"
    65 echo "Start PLC loop"