[PATCH v3 29/41] test: Use return values in dm_test_run()