script to run postinst sanity tests.