bash script to test ex17