annotate cinst/README @ 1118:fd85a02d771d

(issue54) Implement a privilege drop to execute the program after installation. This commit is extremly ugly as I accidentally worked in a working tree that was partially merged with default. To review the real change please check the commit that will merge this branch into default.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 16 Sep 2014 19:45:19 +0200
parents e43e6769269a
children c8f698ca6355
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
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
12 ./cinst list=<path_to_repo>/ui/tests/data/list-valid-signed.txt choices=uninstall
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.
e43e6769269a Add example choices and Readmbe about cinst tests
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff changeset
15 ./cinst list=<path_to_repo>/ui/tests/data/list-valid-signed.txt \
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/