Xavier L'Heureux f8f85c3833 fix: Bring back redox compilation hace 5 años
..
makestuff 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
.cvsignore 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
Makefile 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
OBSERVATIONS 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
QUESTIONS 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
README 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
catcher 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
catcher.c 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
cpu.c 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
deopt.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
enveval.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
hardguy.c 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
hash-error.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
lib.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
lib.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
mkdep.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test01.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test01.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test02.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test03.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test03.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test04.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test04.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test05.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test05.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test06.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test07.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test07.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test08.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test08.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test09.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test10.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test10.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test11.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test11.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test12.ion 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test12.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test13.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test20.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test20a.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test20b.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test21.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test22.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test23.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test23a.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test23b.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test24.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test24a.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test25.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test26.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test27.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test28.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test28a.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test29.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años
test30.sh 00c25fc0fd Add the https://www.cons.org/cracauer/sigint.html signals test suite hace 5 años

README

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.