view cinst/README @ 1332:8362e30f7b55

(issue139) Check that pid is not running if the lock can be aquired If the lock on the lockfile can be aquired it might still be possible that another process is running. So we read the pid from the lockfile and check if another process with the same installation prefix as us is running.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 15 Oct 2014 14:19:46 +0200
parents c8f698ca6355
children
line wrap: on
line source
Tests
=====
Unit tests for this part are also done using the qttest library.
The related unit tests can be found in ui/tests


Manual Invocation of the certificate installation parts
=======================================================
There is a test list in ui/tests that you can use to manually
invoke the command. e.g.:

./trustbridge-certificate-installer list=<path_to_repo>/ui/tests/data/list-valid-signed.txt choices=uninstall

A choices file lies next to it.
./trustbrdige-certificate-installer list=<path_to_repo>/ui/tests/data/list-valid-signed.txt \
    choices=<path_to_repo>/ui/tests/data/choices-example.txt

http://wald.intevation.org/projects/trustbridge/