The DETER distribution includes a small set of tests to verify basic functionality of the newly-installed testbed. Once elabman has created the first user, that user may start the tests on the users node from within the build user's check-out source tree. First:
cd ~<builduser>/testbed/testsuite/deter
Edit the third line of tbcheck so tbsrc
refers to the full path for ~<builduser>/testbed.
set tbsrc /usr/testbed/src/testbed
Then
./tbcheck
should produce (after a fair amount of other logging)
basic2 passed all phases basic passed all phases toofast failed preparse miniTbcmd2 passed all phases cbr passed all phases basic3 passed all phases
tbcheck is a tcl expect script which exercises the testbed using this short series of experiments, attempting to: swap each in; test link behavior; verify other properties of the instantiated experiment; and finally swap out. Given a sufficient quantity of experimental nodes, and a correctly-functioning testbed, only one of the tests is designed to fail.
The full series requires at least six experimental nodes, assuming one node available for delay use has four experimental interfaces. basic2 and basic3 require two and three experimental nodes, respectively.