mirror of
https://github.com/brazilofmux/tinymux
synced 2026-08-13 00:23:11 -04:00
git-svn-id: https://tinymux.googlecode.com/svn/branches/TinyMUX-2.9@5317 d1b986fa-651c-0410-a323-35a8662cf44d |
||
|---|---|---|
| .. | ||
| tools | ||
| 0upload.mux | ||
| accent_fn.mux | ||
| atan2_fn.mux | ||
| center_fn.mux | ||
| cmd_say.mux | ||
| columns_fn.mux | ||
| convtime_fn.mux | ||
| cpad_fn.mux | ||
| digest_fn.mux | ||
| edit_fn.mux | ||
| elements_fn.mux | ||
| escape_fn.mux | ||
| extract_fn.mux | ||
| first_fn.mux | ||
| insert_fn.mux | ||
| last_fn.mux | ||
| ldelete_fn.mux | ||
| ljust_fn.mux | ||
| lpad_fn.mux | ||
| merge_fn.mux | ||
| mid_fn.mux | ||
| pickrand_fn.mux | ||
| README | ||
| rest_fn.mux | ||
| rjust_fn.mux | ||
| rpad_fn.mux | ||
| secure_fn.mux | ||
| sha1_fn.mux | ||
| shl_fn.mux | ||
| shuffle_fn.mux | ||
| shutdown.mux | ||
| sin_fn.mux | ||
| smoke.flat | ||
| smoke.mux | ||
| sqrt_fn.mux | ||
| wrap_fn.mux | ||
This project holds the TinyMUX test cases. The code is formatted and must be
unformatted and quoted into a game.
After building netmux from ./mux/src, the smoke test database, smoke.flat, is
built with:
./tools/Makesmoke
This above script depends on Sed, Perl, Telnet, and Expect. It also starts
and stops a server instance on port 2860. The test cases are unformated with
unformat.pl, a Perl script. The resulting quotable installer is uploaded into
a running server running on port 2860 using upload.tcl, a Expect script.
Finally, the resulting database is unloaded and scrubbed with scrubflat.sed,
a Sed script.
The resulting smoke.flat database automatically runs all the tests and then
shuts itself down. No clients connections are needed to initiate or manage
this.
After building the server from ./mux/src, the smoke test data, smoke.flat, is
used with:
./tools/Smoke
The results of the test will be in smoke.log.