Hi,

 I am new to LTP and just setup on my machine.

I am interested in running syscall test. How to run only syscall tests?


 I tried with following:


 $ ./runltp -f $PWD/runtest/syscalls -p -q -l result.log -o result.out temp/

INFO: creating /home/adil/work/testing/opt/ltp/results directory

Checking for required user/group ids


 'nobody' user id and group found.

'bin' user id and group found.

'daemon' user id and group found.

Users group found.

Sys group found.

Required users/groups exist.

losetup: /dev/loop0: failed to set up loop device: No such file or directory

losetup failed to create block device

no block device was specified on commandline.

Block device could not be created using loopback device

Tests which require block device are disabled.

You can specify it with option -b

no big block device was specified on commandline.

Tests which require a big block device are disabled.

You can specify it with option -z

INFO: Test start time: Tue Jul  7 13:42:01 JST 2015

COMMAND:    /home/adil/work/testing/opt/ltp/bin/ltp-pan  -q  -e -S   -a
5349     -n 5349  -p  -f


 /tmp/ltp-Ic7CiNlVjB/alltests -l
/home/adil/work/testing/opt/ltp/results/result.log -o


 /home/adil/work/testing/opt/ltp/output/result.out -C


 /home/adil/work/testing/opt/ltp/output/LTP_RUN_ON-result.out.failed -T


 /home/adil/work/testing/opt/ltp/output/LTP_RUN_ON-result.out.tconf

LOG File: /home/adil/work/testing/opt/ltp/results/result.log

OUTPUT File: /home/adil/work/testing/opt/ltp/output/result.out

FAILED COMMAND File:
/home/adil/work/testing/opt/ltp/output/LTP_RUN_ON-result.out.failed

TCONF COMMAND File:
/home/adil/work/testing/opt/ltp/output/LTP_RUN_ON-result.out.tconf

-----------------


 I could not see any progress message. So I cancel it by pressing Ctrl+C


 It gives following message:


 INFO: ltp-pan reported some tests FAIL

LTP Version: 20150420

INFO: Test end time: Tue Jul  7 13:42:44 JST 2015


        ###############################################################


             Done executing testcases.

            LTP Version:  20150420

       ###############################################################


 losetup: /dev/loop0: detach failed: No such file or directory


 Following is my understanding:

1. my temp directory path not considered which i specified on the command
line

2. I ask for syscalls test execution, but looks like it is executing
alltests

3. No progress message displayed


 I tried going through documentation but there is no simple example how to
test a subset of test. Also is there any document which gives the test
category structure and in each category how many test cases? Can i know how
many tests cases covered in syscalls?

Thanks,

Adil
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to