diff --git a/.gitignore b/.gitignore index 617c672..a84d4a6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ build .*.swp *.o *.bak +*.orig *.core *.debug *.full diff --git a/tests/resized.sh b/tests/resized.sh index d931425..9100821 100755 --- a/tests/resized.sh +++ b/tests/resized.sh @@ -1,6 +1,7 @@ #!/bin/sh loop=1 +caught=0 trap 'echo resized; caught=$((caught + 1))' WINCH trap 'loop=0' INT @@ -8,8 +9,6 @@ trap 'loop=0' INT # Release the hounds now that the signal handler is setup. echo "ready" -caught=0 - while [ "$loop" -ne 0 ]; do sleep 1 done