mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 01:16:50 +00:00
da9e6b3fbe
Constructing a SafeDescriptor from file descriptor -1 will panic at runtime when it becomes an OwnedFd wrapper. Rework the test code to generate an Event with an invalid, but not that invalid, file descriptor. BUG=b:242953353 TEST=tools/dev_container tools/presubmit Change-Id: I0c4865fc90f1c83ec9fb1a1dc1fa0600ce14f479 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5354689 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |