| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| Makefile | 07-Sep-1998 22:45 | 113 | ||
| OBSERVATIONS | 21-Aug-1998 12:16 | 2.9K | ||
| QUESTIONS | 07-Feb-1998 18:44 | 47 | ||
| catcher.c | 10-Mar-1998 14:17 | 2.9K | ||
| cpu.c | 10-Mar-1998 14:17 | 136 | ||
| deopt.sh | 10-Sep-1998 14:45 | 157 | ||
| enveval.sh | 20-Apr-2000 11:44 | 158 | ||
| hardguy.c | 08-Sep-1998 10:51 | 199 | ||
| hash-error.sh | 18-Dec-1999 16:33 | 956 | ||
| lib.csh | 07-Feb-1998 18:44 | 186 | ||
| lib.sh | 07-Feb-1998 18:44 | 227 | ||
| makestuff/ | 19-Apr-2007 22:55 | - | ||
| mkdep.sh | 21-Aug-1998 13:59 | 1.8K | ||
| test01.csh | 07-Feb-1998 18:44 | 295 | ||
| test01.sh | 13-May-1998 06:52 | 342 | ||
| test02.csh | 07-Feb-1998 18:44 | 182 | ||
| test02.sh | 10-Feb-1998 14:48 | 315 | ||
| test03.sh | 10-Sep-1998 15:31 | 556 | ||
| test04.sh | 13-May-1998 06:52 | 260 | ||
| test05.sh | 13-May-1998 06:52 | 515 | ||
| test06.sh | 13-May-1998 06:52 | 200 | ||
| test07.csh | 10-Feb-1998 19:34 | 489 | ||
| test07.sh | 05-Aug-1998 08:17 | 599 | ||
| test08.sh | 13-May-1998 06:52 | 401 | ||
| test09.sh | 06-May-1998 09:42 | 257 | ||
| test10.sh | 10-Feb-1998 21:57 | 119 | ||
| test11.sh | 11-Feb-1998 15:43 | 244 | ||
| test12.sh | 05-May-1998 10:19 | 145 | ||
| test13.sh | 12-Feb-1998 09:47 | 245 | ||
| test20.sh | 21-Aug-1998 13:59 | 93 | ||
| test20a.sh | 21-Aug-1998 13:59 | 84 | ||
| test20b.sh | 21-Aug-1998 13:59 | 238 | ||
| test21.sh | 05-May-1998 09:58 | 133 | ||
| test22.sh | 05-May-1998 09:58 | 156 | ||
| test23.sh | 21-Aug-1998 14:00 | 101 | ||
| test23a.sh | 21-Aug-1998 13:59 | 84 | ||
| test23b.sh | 21-Aug-1998 13:59 | 285 | ||
| test24.sh | 08-Sep-1998 12:59 | 249 | ||
| test24a.sh | 28-Mar-1999 14:06 | 236 | ||
| test25.sh | 08-Sep-1998 12:59 | 202 | ||
| test26.sh | 08-Sep-1998 13:00 | 222 | ||
| test27.sh | 08-Sep-1998 13:00 | 141 | ||
| test28.sh | 28-Mar-1999 12:29 | 322 | ||
| test28a.sh | 28-Mar-1999 12:29 | 263 | ||
| test29.sh | 10-Sep-1998 15:31 | 142 | ||
| test30.sh | 13-May-1998 16:51 | 211 | ||
| test_export.sh | 03-Apr-1999 11:29 | 687 | ||
1) Link or copy the shell to test to "./testshell", then run the tests like this: `./test01.sh` 2) Please keep in mind that the sigint catcher program remaps SIGQUIT to C-g. When a script fails, it is possible that your terminal is left with these changes. Either you have to be careful and reset the terminal when it is needed or keep in mind that you might have to use C-g insted of C-\ for SIGQUIT. 3) Some background jobs are started and are supposed to be killed by a working shell. You wouldn't read this if you weren't concerned about the quality of your shell, so you probably have some runaway jobs when done with the tests. Make sure you `ps` for all jobs attached to your terminal when you're done. I just discovered a `wc -c /dev/zero` running on my machine since almost a week ago :-) 4) The program ./hardguy lasts 20 seconds it is not catched by the surrounding shell, no matter what happens. Patience, no need to kill it. 5) Some examples need the -T switch I just committed to FreeBSD-current's /bin/sh (immediate execution of traps). mkdep.sh tests mkdep, which is an example of a program that is implemented as shell script and need to kill itself in a trap handler. It should just be interruptable by the first SIGINT. test??[ab].sh are subshell neede for other tests, but cann be called directly as well.