From: Peng Haitao <penght@cn.fujitsu.com>
To: yanegomi@gmail.com
Cc: ltp-list@lists.sourceforge.net
Subject: [LTP] [PATCH] Fix a building error at fork cases.
Date: Thu, 13 Jan 2011 15:49:27 +0800 [thread overview]
Message-ID: <4D2EAE87.9030607@cn.fujitsu.com> (raw)
Hi Garrett,
Fix building error of fork cases.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
---
.../conformance/interfaces/fork/21-1.c | 3 +--
.../conformance/interfaces/fork/7-1.c | 3 ++-
.../conformance/interfaces/fork/8-1.c | 3 +--
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c
index 70f29d1..ef75ce9 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/21-1.c
@@ -99,7 +99,6 @@ void * threaded(void * arg)
}
if (*(pid_t *) arg != getpid())
->>>>>>> origin
{
FAILED("The thread is executing in the child process");
}
@@ -201,4 +200,4 @@ int main(int argc, char * argv[])
#endif
PASSED;
-}
\ No newline at end of file
+}
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c
index 09f229e..dfa80ce 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/7-1.c
@@ -117,6 +117,7 @@ int main(int argc, char * argv[])
}
ret = system("gencat "MESSCAT_OUT" "MESSCAT_IN);
+ }
if (messcat == -1)
{
@@ -161,4 +162,4 @@ int main(int argc, char * argv[])
output("Test passed\n");
#endif
PASSED;
-}
\ No newline at end of file
+}
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c b/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c
index 086dc33..6e73919 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/fork/8-1.c
@@ -170,7 +170,6 @@ int main(int argc, char * argv[])
}
}
while ((child_tms.tms_utime + child_tms.tms_stime) <= 0);
->>>>>>> origin
/* We're done */
exit(PTS_PASS);
@@ -226,4 +225,4 @@ int main(int argc, char * argv[])
#endif
PASSED;
-}
\ No newline at end of file
+}
--
1.7.0.4
--
Best Regards,
Peng Haitao
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2011-01-13 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 7:49 Peng Haitao [this message]
2011-01-14 7:09 ` [LTP] [PATCH] Fix a building error at fork cases Garrett Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D2EAE87.9030607@cn.fujitsu.com \
--to=penght@cn.fujitsu.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=yanegomi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox