test trec bash.