Mercurial > trustbridge
annotate cinst/README @ 1081:edbf5e5e88f4
(issue118) Extend verify_binary to carry an open file
* binverify.c: Change result to a structure containing an open fptr
Use in Memory data for windows verification.
* mainwindow.cpp, selftest.c: Handle the returend structure
* binverifytest.cpp: Test for the exclusive read and update signature.
* listutil.c: Add optional fptr parameter to read_file
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 11 Sep 2014 12:05:24 +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 |