android13/external/ltp/testcases/kernel/device-drivers
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
acpi initial 2024-06-22 20:45:49 +08:00
agp initial 2024-06-22 20:45:49 +08:00
base initial 2024-06-22 20:45:49 +08:00
block initial 2024-06-22 20:45:49 +08:00
cpufreq initial 2024-06-22 20:45:49 +08:00
dev_sim_framework initial 2024-06-22 20:45:49 +08:00
drm initial 2024-06-22 20:45:49 +08:00
include initial 2024-06-22 20:45:49 +08:00
locking initial 2024-06-22 20:45:49 +08:00
misc_modules initial 2024-06-22 20:45:49 +08:00
nls initial 2024-06-22 20:45:49 +08:00
pci initial 2024-06-22 20:45:49 +08:00
rcu initial 2024-06-22 20:45:49 +08:00
rtc initial 2024-06-22 20:45:49 +08:00
tbio initial 2024-06-22 20:45:49 +08:00
uaccess initial 2024-06-22 20:45:49 +08:00
usb initial 2024-06-22 20:45:49 +08:00
v4l initial 2024-06-22 20:45:49 +08:00
zram initial 2024-06-22 20:45:49 +08:00
Makefile initial 2024-06-22 20:45:49 +08:00
README initial 2024-06-22 20:45:49 +08:00

README

Device Driver Testcases:

These tests should always be run individually and never concurrently.  Since
these test will manipulate devices and may leave them in an unstable state,
these tests should not be run when other important system tasks are being
performed.  These tests shouldn't be included in any system wide test scripts
as they may corrupt the test data from those tests.

To build and execute these tests:

1) change into each of the directories you want to test and run "make".
2) run the command 'insmod' on the .o file in the kernel space directory.
Note: If the insmod command fails with a QM_MODULE error, the module functions
      are outdated and need to be upgraded.
3) Run "lsmod" to make sure the modules is loaded.
4) Change to the user space program directory and run the *.sh file or the
   program executable.
5) The results should be output to the display.
6) These tests will complete very quickly, usually in a few seconds so if the
   system doesn't return from the test it's probably hung and a re-boot may be
   required.