Name Date Size #Lines LOC

..--

MakefileH A D28-Jul-2014194 159

Makefile.incH A D28-Aug-201453 31

READMEH A D28-Jul-2014725 2416

dstest.cH A D28-Jul-20144.7 KiB179108

inc.hH A D28-Jul-2014289 1513

runH A D22-Feb-2017192 84

subs.cH A D28-Jul-20142 KiB9266

system.confH A D28-Jul-2014136 1916

README

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