xref: /minix/minix/tests/ds/README (revision 7f5f010b)
1Test Program for DataServer
2
3How to run
4==========
5
6  1. Type `make` to build the tests.
7  2. Type `sh run` to run the tests.
8
9How the test works
10==================
11
12`dstest` tests the new DS API (excluding ds_subscribe() and ds_check()).
13test_u32, test_str, test_mem, and test_label test U32, STR, MEM, and LABEL
14type respectively.
15
16Invalid invokation is tested as well. Erroneous conditions are tested only once.
17For example, publishing an entry with same label name, but without
18DSF_OVERWRITE set, is tested in test_u32 and nowhere else again.
19Type-specific features are always tested.
20
21`subs` tests ds_subscribe() and ds_check(). The server subscribes
22to a U32 type. When `dstest` runs, `subs` catches all the updates.
23
24