When the  libcap-2.11 or newer didn't been installed on the sysytem,  the
filecaps testcase
would return a message instead of an error.

=============
Before patching
=============
# ./runltp -s filecaps

Running tests.......
<<<test_start>>>
tag=Filecaps stime=1222567559
cmdline="filecapstest.sh"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
incrementing stop
setcap not installed. Please install libcap-2.11 or newer from
ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2
<<<execution_status>>>
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: pan reported some tests FAIL

=============
After patching
=============
Running tests.......
<<<test_start>>>
tag=Filecaps stime=1222569141
cmdline=" export TCdat=$LTPROOT/testcases/bin;filecapstest.sh"
contacts=""
analysis=exit
initiation_status="ok"
<<<test_output>>>
incrementing stop
Filecaps 0 CONF : System doesn't support execution of the test
setcap not installed. Please install libcap-2.11 or newer from
ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2
<<<execution_status>>>
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: pan reported all tests PASS


Signed-off-by: Jin Bing Guo <[EMAIL PROTECTED]>
-----------
(See attached file: Fix_filecapstest.patch)


Best regards!

Jin Bing Guo  郭晋兵

Linux for System p Test
IBM China Systems & Technology Laboratory in Beijing
Tel:   +86-10-82454439
Email: [EMAIL PROTECTED]
-------------------------------------
"Do today what others won't so tomorrow you do what other's can't"

Attachment: Fix_filecapstest.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to