Fix cacheleak test for SmartOS