[PATCH 6.2 606/663] PM: hibernate: Turn snapshot_test into global variable