Use "opt < %s" instead of "opt %s" to keep the testname away from the grep.