LTP test case utimes01.c can't build in uclinux as it failed in file
common_j_h.c.
Fix this by diable fork related part in uclinux platform.
--
Index: testcases/kernel/syscalls/utils/common_j_h.c
===================================================================
--- testcases/kernel/syscalls/utils/common_j_h.c
+++ testcases/kernel/syscalls/utils/common_j_h.c
@@ -115,6 +115,7 @@
/*
* Generate a child process which will send a signal
*/
+#ifndef UCLINUX
pid_t create_sig_proc(unsigned long usec, int sig, unsigned count)
{
pid_t pid, cpid;
@@ -142,6 +143,7 @@
return cpid;
}
}
+#endif
/*
@@ -351,6 +353,7 @@
/*
* Get unexist pid
*/
+#ifndef UCLINUX
pid_t get_unexist_pid(void)
{
pid_t pid;
@@ -368,4 +371,4 @@
return pid;
}
}
-
+#endif
--
Best regards,
Vivi Li
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list