[PATCH 28/30] test: Use return values in dm_test_run()