Home | History | Annotate | Download | only in pec
      1 
      2 TEST SUITE:
      3 
      4 The directory pec contains the tests related to the process event connector.
      5 
      6 Process event connector is a netlink connector that reports process events
      7 to userspace. It sends events such as fork, exec, id change and exit.
      8 
      9 There are total 5 testcases.
     10 
     11 Note: the test can be run by root only.
     12 
     13 TESTS AIM:
     14 
     15 The aim of the tests is to test the functionality of process event connector.
     16 
     17 FILES DESCRIPTION:
     18 
     19 check_connector_enabled.c
     20 ------------------
     21 This program is used to check if the kernel supports netlink connector.
     22 
     23 event_generator.c
     24 ------------------
     25 This program is used to generate a specified process event (fork, exec, uid,
     26 gid or exit).
     27 
     28 run_pec_test
     29 ------------------
     30 This script runs all the 5 testcases.
     31 
     32 pec_listener.c
     33 ------------------
     34 This program is used to ilsten to process events received through the kernel
     35 connector and print them.
     36 
     37 Makefile
     38 ------------------
     39 The usual makefile for this directory
     40 
     41 $LTPROOT/output/pec/*.log
     42 ------------------
     43 The outputs of event_generator and pec_listeners.
     44 
     45 README:
     46 ------------------
     47 The one you have gone through.
     48 
     49