diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2020-05-13 14:03:48 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-27 06:03:49 +0000 |
commit | 247134fe68f32f45f7a92a7f3181c0a74f713dec (patch) | |
tree | 385eb74095d7282ece8c32471c2bdd1a702d4665 /sys_util/src | |
parent | 1cc1d5e6eea56c24261380fee6549b4958735d9d (diff) | |
download | crosvm-247134fe68f32f45f7a92a7f3181c0a74f713dec.tar crosvm-247134fe68f32f45f7a92a7f3181c0a74f713dec.tar.gz crosvm-247134fe68f32f45f7a92a7f3181c0a74f713dec.tar.bz2 crosvm-247134fe68f32f45f7a92a7f3181c0a74f713dec.tar.lz crosvm-247134fe68f32f45f7a92a7f3181c0a74f713dec.tar.xz crosvm-247134fe68f32f45f7a92a7f3181c0a74f713dec.tar.zst crosvm-247134fe68f32f45f7a92a7f3181c0a74f713dec.zip |
devices: usb: add unit test for ring buffer cycle
Validate that the toggle_cycle code works as expected. I initially misunderstood the behavior of toggle_cycle in the Link TRB, but it appears to work correctly as written after writing a unit test to verify my understanding. Add the unit test anyway to be sure the behavior doesn't regress in the future. BUG=None TEST=cargo test -p devices Change-Id: I9dbc34b26225945fa6d31c34261f53d5b64ba259 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2199956 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'sys_util/src')
0 files changed, 0 insertions, 0 deletions