Avoids showing errorcode when -f test fails.