[OpenAFS-devel] Testing (and a call for volunteers)

Simon Wilkinson simonxwilkinson@gmail.com
Sun, 16 Sep 2012 18:04:23 +0100


> I'm interested. How do I start?

Take a look at the vos-t.c code in vlserver. This spins up a vlserver, =
makes a few simple entries in the database, and then checks that vos =
reads those entries correctly. It was written to prove an error with vos =
(hence the test name) where it would segmentation fault with a =
particular database entry.

It should be possible to copy this into a vlserver-t.c, and exercise all =
of the ubik_VL interfaces - make sure that you can create entries, =
remove them, and so on. Even just creating the framework so that others =
can add individual tests are useful.

> I was looking into the tests and "make check" fails with the error:

This is fallout from the libtool changes - sorry. The fix is =
http://gerrit.openafs.org/8125

Cheers,

Simon