tools/tests: add xenstore testing framework
authorJuergen Gross <jgross@suse.com>
Thu, 19 Jan 2017 07:18:53 +0000 (08:18 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 20 Jan 2017 12:38:56 +0000 (12:38 +0000)
commit3afc5e4a5b750384a469c2b9ba27eb6bdd55b3b8
tree72943a5fa6b86bc16e4c9bdd73ca9b8f29ed9487
parentff913f68c9e1153b33d25ede18891a8199ae82bb
tools/tests: add xenstore testing framework

Add tools/tests/xenstore for a framework to do tests of xenstore.
The aim is to test for correctness and performance.

Add a test program containing some tests meant to be run against any
xenstore implementation (xenstored, oxenstored, xenstore-stubdom).

It is using libxenstore for access to xenstore and supports multiple
tests to be either selected all or individually. All tests are using
/local/domain/<own-domid>/xenstore-test/<pid> as base for doing the
tests. This allows multiple instances of the program to run in
parallel.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
.gitignore
tools/tests/Makefile
tools/tests/xenstore/Makefile [new file with mode: 0644]
tools/tests/xenstore/xs-test.c [new file with mode: 0644]