* [LTP] [PATCH] Fix a building error at fork cases.
@ 2011-01-13 7:49 Peng Haitao
2011-01-14 7:09 ` Garrett Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2011-01-13 7:49 UTC (permalink / raw)
To: yanegomi; +Cc: ltp-list
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-14 7:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13 7:49 [LTP] [PATCH] Fix a building error at fork cases Peng Haitao
2011-01-14 7:09 ` Garrett Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox