- Original Message -
> From: "Zeng Linggang"
> To: "Jan Stancek"
> Cc: "ltp-list"
> Sent: Monday, 23 June, 2014 4:37:45 AM
> Subject: [PATCH v2 1/2] wait/wait02: cleanup
>
> * Delete some useless commtents and variable.
>
> * Some cleanup.
>
> Signed-off-by: Zeng Linggang
Series
Currently numbers of testcases in LTP will return TCONF when they are not
appropriate to run. But when users execute './runltp' to run the default
test suite towards an linux distribution or upstream kernel, if testcases
return TCONF, ultimately they will print TPASS to users, then users will
not k
Delete the useless 'char *av[2];' definition.
Fix the 'ignoring return value of read(2)' compilation warnings.
Signed-off-by: Xiaoguang Wang
---
pan/ltp-pan.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pan/ltp-pan.c b/pan/ltp-pan.c
index 6a1a797..c36a9ee 100644
Hi,
I am testing mips64 with LTP. The problem is with fstatfs02.c
file. The test case was failing in my particular arch. For debugging purpose I
write the same code and executed.
ret = fstatfs( -1,&buf );
printf("Retrun value =%d, errornumber %d EBADF is %d %s FD %d pointer %p
\n
Signed-off-by: Xing Gu
---
runtest/syscalls| 1 +
testcases/kernel/syscalls/.gitignore| 1 +
testcases/kernel/syscalls/vmsplice/vmsplice02.c | 167
3 files changed, 169 insertions(+)
create mode 100644 testcases/kernel/sysc
- Original Message -
> From: "Ajoymon Joseph"
> To: ltp-list@lists.sourceforge.net
> Sent: Friday, 20 June, 2014 3:41:06 PM
> Subject: [LTP] fstatfs02 issue on mips64
>
>
>
> Hi,
>
> I am testing mips64 with LTP. The problem is with fstatfs02.c file. The test
> case was failing in my
Hi!
> I am testing mips64 with LTP. The problem is with fstatfs02.c file.
> The test case was failing in my particular arch. For debugging purpose
> I write the same code and executed.
>
> ret = fstatfs( -1,&buf );
> printf("Retrun value =%d, errornumber %d EBADF is %d %s FD %d pointer %p
> \n"
Hi!
Nice cleanup :) Pushed, thanks.
--
Cyril Hrubis
chru...@suse.cz
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast
Hi jan,
As you mentioned I checked the strace output. I was not knowing how to analyze
it. so I compared strace in a normal pc and my test machine. I saw a strange
thing.
rt_sigaction(SIGPWR, {0x403b30, [], SA_RESTORER|SA_RESTART, 0x38e7a329a0},
{SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSYS, {0
Hi!
> static long cmdno = 0;
> int errpipe[2]; /* way to communicate to parent that the tag */
> char errbuf[1024]; /* didn't actually start */
> + int ret;
>
> /* Try to open the file that will be stdout for the test */
> if (test_out_dir) {
> @@ -
Hi!
> I am not seeing fstatfs call itself when comparing the system call. I
> hope this is the reason?
That is strange but I would not call this to be the reason for the test
fail.
> Also fstatfs02 was working fine. Only fstatfs02_64 was having the
> issue. I saw in ../utils/newer_64.mk makefile.
Hi,
Same issue is happening with statfs02_64. In normal system statfs call is there.
chown("/tmp/staQ9BKAG", 4294967295, 0) = 0
chmod("/tmp/staQ9BKAG", 0777) = 0
chdir("/tmp/staQ9BKAG") = 0
creat("testfile.21255", 0444) = 3
mmap(NULL, 1, PROT_NONE, MAP_PRIVATE
- Original Message -
> From: "Ajoymon Joseph"
> To: "Jan Stancek"
> Cc: ltp-list@lists.sourceforge.net
> Sent: Monday, 23 June, 2014 3:26:55 PM
> Subject: RE: [LTP] fstatfs02 issue on mips64
>
> I am not seeing fstatfs call itself when comparing the system call. I hope
> this is the re
Hi!
> Currently numbers of testcases in LTP will return TCONF when they are not
> appropriate to run. But when users execute './runltp' to run the default
> test suite towards an linux distribution or upstream kernel, if testcases
> return TCONF, ultimately they will print TPASS to users, then user
Hi!
> statfs is not there in strace output. Can you please tell me what can be the
> reason for strace not showing those functions?
No idea :(
Without carefull analysis this can range from missing implementation in
strace to bugs in strace implementation.
--
Cyril Hrubis
chru...@suse.cz
Hi!
> > statfs is not there in strace output. Can you please tell me what can be
> > the reason for strace not showing those functions?
>
> No idea :(
>
> Without carefull analysis this can range from missing implementation in
> strace to bugs in strace implementation.
Or could even mean that
Hi!
Whole patchset looks good to me, acked.
--
Cyril Hrubis
chru...@suse.cz
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Sour
Hi!
> diff --git a/testscripts/network.sh b/testscripts/network.sh
> new file mode 100755
> index 000..0b89c8e
> --- /dev/null
> +++ b/testscripts/network.sh
> @@ -0,0 +1,53 @@
> +#!/bin/sh
> +
> +# Network Test Parameters
> +#
> +# ---* THESE MUST BE SET FOR CORRECT OPERATION *---
> +
Hi!
> >>ret=1
> >>
> >> + temp_tmpdir=$TMPDIR
> >> + export TMPDIR=mnt_point
> >>for ((i = 1; i <= 3; i++))
> >>{
> >>if ! command -v fallocate0${i} > /dev/null 2>&1; then
> >> @@ -63,6 +65,7 @@ ext4_test_persist_prealloc()
> >>return
> >>
Hi jan,
I was able to reproduce the issue with sample program.
Program was:
1 #include
2 #include
3 #include
4 #include
5
6 int main()
7 {
8 int ret;
9 ret = fstatfs(-1, NULL);
10 printf("return fstatfs %d\n ",ret);
11 return 0;
12 }
13
C
20 matches
Mail list logo