CTS tests for major:minor of /dev/random and /dev/urandom.
These tests assert that /dev/random and /dev/urandom are backed by
the correct parts of the Linux RNG kernel driver.
Bug: 10394220
Conflicts:
tests/tests/security/jni/Android.mk
(cherry picked from commit c277854a19579864ab959d2302f16386db2332a7)
Change-Id: I415309c6b14f2e38062d00c365ab9e2d2a881ae9
diff --git a/tests/tests/security/jni/Android.mk b/tests/tests/security/jni/Android.mk
index 5821ec0..06172c5 100644
--- a/tests/tests/security/jni/Android.mk
+++ b/tests/tests/security/jni/Android.mk
@@ -24,7 +24,8 @@
LOCAL_SRC_FILES := \
CtsSecurityJniOnLoad.cpp \
android_security_cts_CharDeviceTest.cpp \
- android_security_cts_NativeCodeTest.cpp
+ android_security_cts_LinuxRngTest.cpp \
+ android_security_cts_NativeCodeTest.cpp \
LOCAL_C_INCLUDES := $(JNI_H_INCLUDE)