* [LTP] [PATCH] open_posix_testsuite: correct fork11-1 report log
@ 2021-02-20 12:37 Li Wang
2021-02-22 3:06 ` Yang Xu
0 siblings, 1 reply; 3+ messages in thread
From: Li Wang @ 2021-02-20 12:37 UTC (permalink / raw)
To: ltp
Signed-off-by: Li Wang <liwang@redhat.com>
---
.../open_posix_testsuite/conformance/interfaces/fork/11-1.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
index 8a7796cfd..e31f3896f 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
@@ -47,7 +47,7 @@ static int child(int fd)
if (fcntl(fd, F_SETLK, &fl) == -1) {
if (errno == EACCES || errno == EAGAIN) {
- printf("PASSED: child did not inherit the lock\n");
+ printf("PASSED: Child locked file already locked by parent\n");
return PTS_PASS;
}
@@ -56,7 +56,7 @@ static int child(int fd)
return PTS_UNRESOLVED;
}
- printf("Child locked file already locked by parent\n");
+ printf("Child did not inherit the lock\n");
return PTS_FAIL;
}
--
2.21.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [LTP] [PATCH] open_posix_testsuite: correct fork11-1 report log
2021-02-20 12:37 [LTP] [PATCH] open_posix_testsuite: correct fork11-1 report log Li Wang
@ 2021-02-22 3:06 ` Yang Xu
2021-02-22 3:11 ` Li Wang
0 siblings, 1 reply; 3+ messages in thread
From: Yang Xu @ 2021-02-22 3:06 UTC (permalink / raw)
To: ltp
Hi Li
Looks good to me,
Reviewed-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
ps: My pc (I use it to merge patch) is not with me, you can merge this
yourself.
> Signed-off-by: Li Wang<liwang@redhat.com>
> ---
> .../open_posix_testsuite/conformance/interfaces/fork/11-1.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
> index 8a7796cfd..e31f3896f 100644
> --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
> +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
> @@ -47,7 +47,7 @@ static int child(int fd)
>
> if (fcntl(fd, F_SETLK,&fl) == -1) {
> if (errno == EACCES || errno == EAGAIN) {
> - printf("PASSED: child did not inherit the lock\n");
> + printf("PASSED: Child locked file already locked by parent\n");
> return PTS_PASS;
> }
>
> @@ -56,7 +56,7 @@ static int child(int fd)
> return PTS_UNRESOLVED;
> }
>
> - printf("Child locked file already locked by parent\n");
> + printf("Child did not inherit the lock\n");
> return PTS_FAIL;
> }
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [PATCH] open_posix_testsuite: correct fork11-1 report log
2021-02-22 3:06 ` Yang Xu
@ 2021-02-22 3:11 ` Li Wang
0 siblings, 0 replies; 3+ messages in thread
From: Li Wang @ 2021-02-22 3:11 UTC (permalink / raw)
To: ltp
Hi Xu,
Merged, thanks for your review!
On Mon, Feb 22, 2021 at 11:06 AM Yang Xu <xuyang2018.jy@cn.fujitsu.com>
wrote:
> Hi Li
> Looks good to me,
> Reviewed-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
>
> ps: My pc (I use it to merge patch) is not with me, you can merge this
> yourself.
> > Signed-off-by: Li Wang<liwang@redhat.com>
> > ---
> > .../open_posix_testsuite/conformance/interfaces/fork/11-1.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git
> a/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
> b/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
> > index 8a7796cfd..e31f3896f 100644
> > --- a/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
> > +++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/11-1.c
> > @@ -47,7 +47,7 @@ static int child(int fd)
> >
> > if (fcntl(fd, F_SETLK,&fl) == -1) {
> > if (errno == EACCES || errno == EAGAIN) {
> > - printf("PASSED: child did not inherit the lock\n");
> > + printf("PASSED: Child locked file already locked
> by parent\n");
> > return PTS_PASS;
> > }
> >
> > @@ -56,7 +56,7 @@ static int child(int fd)
> > return PTS_UNRESOLVED;
> > }
> >
> > - printf("Child locked file already locked by parent\n");
> > + printf("Child did not inherit the lock\n");
> > return PTS_FAIL;
> > }
> >
>
>
>
>
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210222/0b765d04/attachment-0001.htm>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-22 3:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 12:37 [LTP] [PATCH] open_posix_testsuite: correct fork11-1 report log Li Wang
2021-02-22 3:06 ` Yang Xu
2021-02-22 3:11 ` Li Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.