net-test: add 'random.trust_cpu=on' to kernel command line

Another workaround for boot time entropy starvation,
which is only usable on sufficiently new kernels.

While we could just enable CONFIG_RANDOM_TRUST_CPU=y instead of passing
another thing via kernel commandline, this would only take effect for
kernels we build ourselves - ie. for UML builds and not for gki/cuttlefish
pre-built kernels.

Test: passed
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ibb8fe056c52b96eca7b387cdcfad0f1440311f7b
diff --git a/net/test/run_net_test.sh b/net/test/run_net_test.sh
index ce5dce6..ebfb15f 100755
--- a/net/test/run_net_test.sh
+++ b/net/test/run_net_test.sh
@@ -311,7 +311,7 @@
 # into base64.
 entropy="$(cat /proc/sys/kernel/random{/,/,/}uuid | tr -d '\n-')"
 entropy="$(xxd -r -p <<< "${entropy}" | base64 -w 0)"
-cmdline="${cmdline} entropy=${entropy}"
+cmdline="${cmdline} random.trust_cpu=on entropy=${entropy}"
 
 if [ "$ARCH" == "um" ]; then
   # Get the absolute path to the test file that's being run.