commit | 495768f04fea119e1c7ae175217169006cc73da6 | [log] [tgz] |
---|---|---|
author | Steve Fung <stevefung@google.com> | Mon Apr 25 16:15:53 2016 -0700 |
committer | Steve Fung <stevefung@google.com> | Tue Apr 26 00:04:42 2016 +0000 |
tree | c8bea1291f1d22a91526efb1d84510d2ba43271c | |
parent | 6b0a22211dfbfe3eb7336314df5d3a3abfcf816a [diff] |
Clean up hit_store to use stat permissions Change the os.chmod() call to use the stat constants rather than 0o600, and add a unit test to make sure that the permissions are being set properly. Bug: 27718898 Test: `python test_runner.py` passes Change-Id: Ifea8b99e21f4914b8235733e575d948d5d183b86