[PATCH v3 4/4] selftest: ignore all spaces when compare the dmesg files