commit | 9ab27d520fe942320548bf772cf1b93514a5aef8 | [log] [tgz] |
---|---|---|
author | Fergus Dall <sidereal@google.com> | Fri May 13 04:59:19 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 17 05:42:31 2022 |
tree | 79fbe8280aba8df6cff1548cf6cde0b864cb1f3b | |
parent | 6827ba066e3f486e9d6b96eb5927e3b36bbdc777 [diff] |
upstart: Fix utmp test setup This test was trying to write duplicate entries to the utmp database in test setup, which fails in complicated ways due to glibc's internal caching. Instead just directly write the data we want to be in the file to the file. BUG=b:232122437 TEST=FEATURES=test emerge-eve upstart Change-Id: I186eb1d33ee84318e8ab8cd6f57aed53a8570ed6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/upstart/+/3644751 Tested-by: Fergus Dall <sidereal@google.com> Commit-Queue: Fergus Dall <sidereal@google.com> Reviewed-by: Allen Webb <allenwebb@google.com>