[PATCH 2/2] selftests/harness: Pass variant to teardown