xref: /aosp_15_r20/external/ltp/testcases/kernel/device-drivers/nls/README (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker
2*49cdfc7eSAndroid Build Coastguard WorkerNative language support (nls) testsuite
3*49cdfc7eSAndroid Build Coastguard Worker---------------------------------------
4*49cdfc7eSAndroid Build Coastguard Worker
5*49cdfc7eSAndroid Build Coastguard WorkerThe nls testsuite consists of a kernel space and a user space part. Currently
6*49cdfc7eSAndroid Build Coastguard Workerthe kernel space part is compileable (tested with 2.6.27 & 2.6.28). Check the
7*49cdfc7eSAndroid Build Coastguard Workertop level README file in LTP to find out the kernel configuration dependencies
8*49cdfc7eSAndroid Build Coastguard Workerof this testsuite.
9*49cdfc7eSAndroid Build Coastguard Worker
10*49cdfc7eSAndroid Build Coastguard WorkerBefore loading nlsTest.ko the nls_base.ko module must already be loaded.
11*49cdfc7eSAndroid Build Coastguard Worker
12*49cdfc7eSAndroid Build Coastguard WorkerBuilding
13*49cdfc7eSAndroid Build Coastguard Worker--------
14*49cdfc7eSAndroid Build Coastguard WorkerTo build nlsTest.ko you will need to have the Linux kernel sources installed
15*49cdfc7eSAndroid Build Coastguard Workeron your build environment. Execute "make" from the current directory should
16*49cdfc7eSAndroid Build Coastguard Workerbuild the nlsTest.ko.
17*49cdfc7eSAndroid Build Coastguard Worker
18*49cdfc7eSAndroid Build Coastguard WorkerExecuting the testsuite
19*49cdfc7eSAndroid Build Coastguard Worker-----------------------
20*49cdfc7eSAndroid Build Coastguard WorkerThe whole testsuite is executed automatically at module load time. You can
21*49cdfc7eSAndroid Build Coastguard Workerfind the test results in the "dmesg" output.
22*49cdfc7eSAndroid Build Coastguard Worker
23*49cdfc7eSAndroid Build Coastguard WorkerCleaning up
24*49cdfc7eSAndroid Build Coastguard Worker-----------
25*49cdfc7eSAndroid Build Coastguard WorkerTo clean up your test system can unload the nlsTest.ko module with
26*49cdfc7eSAndroid Build Coastguard Worker"rmmod nlsTest". To clean up your build system execute "make clean".
27*49cdfc7eSAndroid Build Coastguard Worker
28*49cdfc7eSAndroid Build Coastguard WorkerCredits
29*49cdfc7eSAndroid Build Coastguard Worker-------
30*49cdfc7eSAndroid Build Coastguard WorkerThis README was written by M�rton N�meth <[email protected]>, 14 Jan 2009
31