ash: add a testcase for recently fixed signal bug

This commit is contained in:
Denis Vlasenko
2008-02-13 18:09:56 +00:00
parent 23ffb6a4a2
commit 81887e2342
4 changed files with 49 additions and 7 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/sh
test -x ash || { echo "No ./ash?!"; exit; }
test -x ash || {
echo "No ./ash?! Perhaps you want to run 'ln -s ../../busybox ash'"
exit
}
test -x printenv || gcc -O2 -o printenv printenv.c || exit $?
test -x recho || gcc -O2 -o recho recho.c || exit $?
test -x zecho || gcc -O2 -o zecho zecho.c || exit $?
@@ -50,6 +53,7 @@ if [ $# -lt 1 ]; then
modules=`ls -d ash-*`
for module in $modules; do
echo do_test $module
do_test $module
done
else