test/errtest.c: more conditions for checking __FILE__ and __LINE__