commit | 936a81ec1a1c8abd9b643c7fb8327a724bff73cc | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <neels@hofmeyr.de> | Thu Sep 14 01:31:41 2017 +0200 |
committer | Neels Hofmeyr <neels@hofmeyr.de> | Thu Sep 14 01:52:32 2017 +0200 |
tree | 8ba11dda34a359b1f31477af0b03e92fc086e0e2 | |
parent | c28769488e925a28fe9046db15ea7bbd7f1279bc [diff] |
fix util.py/FileLock and lock_test Do not pass os.O_TRUNC to open(), that immediately empties out the lock file. Fix lock_test to be able to catch this error. So far things were happening too fast to notice it. Caught by running 'make check' on a main unit APU that has different timing behavior. Change-Id: I872a3d2548ac84097ac7acf13cb12c36822e076e