test02.sh 340 B

1234567891011121314
  1. #!/bin/sh
  2. export TESTMAKE
  3. if [ ! "$TESTMAKE" ] ; then
  4. TESTMAKE=make
  5. fi
  6. echo 'You should be able to kill this script with just one SIGINT'
  7. echo 'Problematic shell/make - Kombinations will enter make a second time'
  8. echo "On SIGINT, make should print 'Interrupt target runs'"
  9. set -x
  10. $TESTMAKE -s -f Makefile1a
  11. $TESTMAKE -s -f Makefile1a