The salt spray test is used to check corrosion resistance of materials and surface coatings.