On Mar 2, 2010, at 2:11 AM, Iranna D Ankad <[email protected]>
wrote:
Hello ..
When I am trying to run LTP's filecaps test, it does not actually
run the test, but ltp-pan report test PASSED.
This is happening in the latest LTP (ltp-full-20100228), including
couple of past LTP releases (ex. November, December releases)
remove test cases which require the block device.
You can specify it with option -b
COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 12064 -n 12064 -p
-f /tmp/ltp-P00GfUUqLS/alltests -l /opt/ltp/results/
LTP_RUN_ON-2010_Mar_02-04h_14m_57s.log -C /opt/ltp/output/
LTP_RUN_ON-2010_Mar_02-04h_14m_57s.failed
LOG File: /opt/ltp/results/LTP_RUN_ON-2010_Mar_02-04h_14m_57s.log
FAILED COMMAND File: /opt/ltp/output/
LTP_RUN_ON-2010_Mar_02-04h_14m_57s.failed
Running tests.......
<<<test_start>>>
tag=Filecaps stime=1267521297
cmdline="filecapstest.sh"
contacts=""
analysis=exit
<<<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>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: LTP-20100131
The _libraries and apps_ are installed, not the _headers_.
LTP reports setcap is installed, but actually, my system has setcap
installed, along with all required libcap related rpms.
mx3950:/opt/ltp # setc
setcap setconsole setctsid
mx3950:/opt/ltp #
mx3950:/opt/ltp # rpm -qa | grep cap
libcap1-1.10-6.10
libcap2-2.11-2.15
libcap-progs-2.11-2.15
libpcap0-0.9.8-50.4.32
libcap2-32bit-2.11-2.15
libcap1-32bit-1.10-6.10
mx3950:/opt/ltp #
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---------------------------------------------------------------------
Here is the false positive log, which shows test PASSED, without
actually running the test.
The problem is that TCONF should return 0 (in this case the library's
functionality isn't available on the running system, so the tests
can't be run).
I don't see a problem with this 'error' -- the problem I see that
needs to be rectified is the -devel packages need to be installed on
the machine.
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---------------------------------------------------------------------
mx3950:/opt/ltp # cat results/LTP_RUN_ON-2010_Mar_02-04h_14m_57s.log
Test Start Time: Tue Mar 2 04:14:57 2010
-----------------------------------------
Testcase Result Exit Value
-------- ------ ----------
Filecaps PASS 0
-----------------------------------------------
Total Tests: 1
Total Failures: 0
Kernel Version: 2.6.32.8-default
Machine Architecture: x86_64
Hostname: mx3950
mx3950:/opt/ltp #
Thanks,
-Garrett
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list