| 1 | The DETER distribution includes a small set of tests |
| 2 | to verify basic functionality of the newly-installed testbed: |
| 3 | {{{ |
| 4 | cd ~<builduser>/testbed/testsuite/deter |
| 5 | ./tbcheck |
| 6 | }}} |
| 7 | should produce |
| 8 | {{{ |
| 9 | basic2 passed all phases |
| 10 | basic passed all phases |
| 11 | toofast failed preparse |
| 12 | miniTbcmd2 failed linktest |
| 13 | cbr failed linktest |
| 14 | }}} |
| 15 | ''tbcheck'' is a tcl expect script which exercises the testbed |
| 16 | using this short series of experiments, |
| 17 | attempting to: swap each in; |
| 18 | test link behavior; verify other properties of the instantiated |
| 19 | experiment; and finally swap out. |
| 20 | Not all tests will pass all test phases. |
| 21 | |
| 22 | * ''basic'' checks that an experimental node's group file includes the project group. It also includes two links with different delays, and one at a lower bitrate than the others. ''basic'' should pass all phases. |
| 23 | * ''basic2'' checks than an experimental node properly mounted the user's home directory, and should pass all phases. |
| 24 | * ''cbr'' includes a number of links with delay, traffic agents, and link events. The test verifies that the testbed correctly creates a log file for one of the events. However, the linktest script anticipates bandwidth errors, and overall the test should fail (only) that phase. |
| 25 | * ''miniTbcmd2'' includes a pair of tar archives to be extracted on one of the experimental nodes, and a startup command for that node. Linktest fails on this one also. |
| 26 | * ''toofast'' is supposed to fail to swap-in (according to emulab) because one of the links is too fast, but in practice fails due to a parsing error. |
| 27 | |
| 28 | The series requires at least seven experimental nodes, |
| 29 | assuming each such node has four experimental interfaces. |