Add the below lines to your Makefile and run with > make > make shell-tests make shell-tests : shell_tests.sh shell_tests_data.sh clean-tests chmod u+rx shell_tests.sh shell_tests_data.sh normalize.awk filter-semopen-bug.awk ./shell_tests.sh clean-tests : rm -f test-*.{log,out,expect,diff,valgrindout}