crosvm/tests
Daniel Verkamp 5cf2691610 tests/plugins: replace rand_ish use with a counter
Rather than generating a random temporary file name for each plugin
generated by the test, just use a counter to ensure uniqueness.

This was the only remaining rand_ish user, so this change will allow the
removal of rand_ish.

BUG=None
TEST=cargo test --features=plugin

Change-Id: I8d42da97870db54a850f686826ca107255b8c3ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3017608
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2021-07-21 23:28:27 +00:00
..
mini_plugin_template.c
plugin.policy
plugin_adder.c
plugin_async_write.c
plugin_dirty_log.c
plugin_enable_cap.c
plugin_extensions.c
plugin_hint.c
plugin_ioevent.c
plugin_irqfd.c
plugin_msr_index_list.c
plugin_net_config.c
plugin_supported_cpuid.c
plugin_vcpu_pause.c
plugin_vm_state.c
plugins.rs tests/plugins: replace rand_ish use with a counter 2021-07-21 23:28:27 +00:00
vfs_crypto.c