Hi,
Inside the smack testcase, the sript "smack_common.sh" has a function
named "check_onlycap()" , please tell me its functionality as every time
this function is reporting that onlycap is "" not the expected "".
the log of the testcase is as follows---
INFO: creating /opt/ltp/results directory
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux 192.168.1.10 2.6.32 #2 SMP Tue Oct 19 17:34:35 IST 2010 armv7l unknown
unknown GNU/Linux
Gnu C gcc (GCC) 4.5.0
Gnu make 3.81
util-linux ng 2.16.1)
mount ng 2.16.1 (with libblkid support)
modutils 3.1
e2fsprogs 1.41.9
PPP 2.4.4
Linux C Library 2.10.1
Dynamic linker (ldd) 2.10.1
Linux C++ Library 6.0.14
Procps 3.2.7
Net-tools 1.60
iproute2 iproute2-ss100224
Console-tools 0.2.3
Sh-utils 5.2.1
Modules Loaded
free reports:
total used free shared buffers cached
Mem: 255368 21240 234128 0 0 11764
-/+ buffers/cache: 9476 245892
Swap: 0 0 0
/proc/cpuinfo
Processor : ARMv7 Processor rev 1 (v7l)
processor : 0
BogoMIPS : 996.14
processor : 1
BogoMIPS : 996.14
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 1
Hardware : ST-SPEAR1300-EVB
Revision : 0000
Serial : 0000000000000000
remove test cases which require the block device.
You can specify it with option -b
COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 1255 -n 1255 -p -f
/tmp/ltp-MqPLzA1261/alltests -l /opt/ltp/results/smack.result -C
/opt/ltp/output/LTP_RUN_ON-smack.result.failed
LOG File: /opt/ltp/results/smack.result
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-smack.result.failed
Running tests.......
<<<test_start>>>
tag=smack_set_ambient stime=618
cmdline="smack_set_ambient.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=smack_set_current stime=618
cmdline="smack_set_current.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=smack_set_doi stime=619
cmdline=" smack_set_doi.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=2 cstime=6
<<<test_end>>>
<<<test_start>>>
tag=smack_set_netlabel stime=619
cmdline="smack_set_netlabel.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=3 cstime=3
<<<test_end>>>
<<<test_start>>>
tag=smack_set_socket_labels stime=619
cmdline="smack_set_socket_labels"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=smack_set_cipso stime=619
cmdline=" smack_set_cipso.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=2 cstime=4
<<<test_end>>>
<<<test_start>>>
tag=smack_set_direct stime=619
cmdline="smack_set_direct.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=4
<<<test_end>>>
<<<test_start>>>
tag=smack_set_load stime=619
cmdline=" smack_set_load.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=5
<<<test_end>>>
<<<test_start>>>
tag=smack_set_onlycap stime=619
cmdline="smack_set_onlycap.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=6
<<<test_end>>>
<<<test_start>>>
tag=smack_file_access stime=619
cmdline="smack_file_access.sh"
contacts=""
analysis=exit
<<<test_output>>>
The smack label reported for /smack/onlycap is "", not the expected "".
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=6
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: LTP-20100131
###############################################################"
Done executing testcases."
LTP Version: LTP-20100131
###############################################################"
--
Best Regards,
Arjit Sharma.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list