testsuite: ignore line numbers, properly

This is a better solution than yast/ycp-killer#554. Instead of adding code, it fixes the existing broken code.