[PATCH v2 2/5] dm: test: Improve partition test error output