Index of /cracauer/download/sh-interrupt/testsuite

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -  
[DIR]makestuff/19-Apr-2007 22:55 -  
[TXT]QUESTIONS07-Feb-1998 18:44 47  
[   ]test20a.sh21-Aug-1998 13:59 84  
[   ]test23a.sh21-Aug-1998 13:59 84  
[   ]test20.sh21-Aug-1998 13:59 93  
[   ]test23.sh21-Aug-1998 14:00 101  
[TXT]Makefile07-Sep-1998 22:45 113  
[   ]test10.sh10-Feb-1998 21:57 119  
[   ]test21.sh05-May-1998 09:58 133  
[TXT]cpu.c10-Mar-1998 14:17 136  
[   ]test27.sh08-Sep-1998 13:00 141  
[   ]test29.sh10-Sep-1998 15:31 142  
[   ]test12.sh05-May-1998 10:19 145  
[   ]test22.sh05-May-1998 09:58 156  
[   ]deopt.sh10-Sep-1998 14:45 157  
[   ]enveval.sh20-Apr-2000 11:44 158  
[   ]test02.csh07-Feb-1998 18:44 182  
[   ]lib.csh07-Feb-1998 18:44 186  
[TXT]hardguy.c08-Sep-1998 10:51 199  
[   ]test06.sh13-May-1998 06:52 200  
[   ]test25.sh08-Sep-1998 12:59 202  
[   ]test30.sh13-May-1998 16:51 211  
[   ]test26.sh08-Sep-1998 13:00 222  
[   ]lib.sh07-Feb-1998 18:44 227  
[   ]test24a.sh28-Mar-1999 14:06 236  
[   ]test20b.sh21-Aug-1998 13:59 238  
[   ]test11.sh11-Feb-1998 15:43 244  
[   ]test13.sh12-Feb-1998 09:47 245  
[   ]test24.sh08-Sep-1998 12:59 249  
[   ]test09.sh06-May-1998 09:42 257  
[   ]test04.sh13-May-1998 06:52 260  
[   ]test28a.sh28-Mar-1999 12:29 263  
[   ]test23b.sh21-Aug-1998 13:59 285  
[   ]test01.csh07-Feb-1998 18:44 295  
[   ]test02.sh10-Feb-1998 14:48 315  
[   ]test28.sh28-Mar-1999 12:29 322  
[   ]test01.sh13-May-1998 06:52 342  
[   ]test08.sh13-May-1998 06:52 401  
[   ]test07.csh10-Feb-1998 19:34 489  
[   ]test05.sh13-May-1998 06:52 515  
[   ]test03.sh10-Sep-1998 15:31 556  
[   ]test07.sh05-Aug-1998 08:17 599  
[   ]test_export.sh03-Apr-1999 11:29 687  
[   ]hash-error.sh18-Dec-1999 16:33 956  
[   ]mkdep.sh21-Aug-1998 13:59 1.8K 
[TXT]OBSERVATIONS21-Aug-1998 12:16 2.9K 
[TXT]catcher.c10-Mar-1998 14:17 2.9K 

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.