scrape through
(something) 1. Lit. to move through something, scraping or rubbing the sides. The car, going at a very high speed, scraped through the tunnel. It just managed to scrape through.
2. Fig. to get by something just barely; to pass a test just barely. Alice passed the test, but she just scraped through it. I just scraped through my calculus test.