Testing script for C/C++ written in Bash