annotate 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
rev   line source
943
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
1 Tests
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
2 =====
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
3 Unit tests for this part are also done using the qttest library.
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
4 The related unit tests can be found in ui/tests
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
5
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
6
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
7 Manual Invocation of the certificate installation parts
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
8 =======================================================
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
9 There is a test list in ui/tests that you can use to manually
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
10 invoke the command. e.g.:
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
11
1176
c8f698ca6355 (issue128) Rename cinst to trustbridge-certificate-installer
Andre Heinecke <andre.heinecke@intevation.de>
parents: 943
diff changeset
12 ./trustbridge-certificate-installer list=<path_to_repo>/ui/tests/data/list-valid-signed.txt choices=uninstall
943
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
13
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
14 A choices file lies next to it.
1176
c8f698ca6355 (issue128) Rename cinst to trustbridge-certificate-installer
Andre Heinecke <andre.heinecke@intevation.de>
parents: 943
diff changeset
15 ./trustbrdige-certificate-installer list=<path_to_repo>/ui/tests/data/list-valid-signed.txt \
943
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
16 choices=<path_to_repo>/ui/tests/data/choices-example.txt

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