* [LTP] [Bug Fix] utimensat01 can't build
@ 2010-12-29 9:35 Vivi
2010-12-29 16:44 ` Mike Frysinger
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Vivi @ 2010-12-29 9:35 UTC (permalink / raw)
To: LTP mailing list
[-- Attachment #1.1: Type: text/plain, Size: 590 bytes --]
LTP test case utimensat01.c can't build without file usctest.h.
Bellow is the patch:
--
Index: testcases/kernel/syscalls/utimensat/utimensat01.c
===================================================================
--- testcases/kernel/syscalls/utimensat/utimensat01.c (revision 161)
+++ testcases/kernel/syscalls/utimensat/utimensat01.c (revision 183)
@@ -40,6 +40,7 @@
#include <string.h>
#include <sys/stat.h>
#include <test.h>
+#include "usctest.h"
#include "linux_syscall_numbers.h"
char *TCID = "utimensat01"; /* Test program identifier. */
--
Best regards,
Vivi Li
[-- Attachment #1.2: Type: text/html, Size: 718 bytes --]
[-- Attachment #2: Type: text/plain, Size: 371 bytes --]
------------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [Bug Fix] utimensat01 can't build
2010-12-29 9:35 [LTP] [Bug Fix] utimensat01 can't build Vivi
@ 2010-12-29 16:44 ` Mike Frysinger
2011-01-05 10:16 ` Vivi
2011-01-05 13:00 ` Hannu Heikkinen
2011-01-15 5:46 ` Garrett Cooper
2 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2010-12-29 16:44 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: Text/Plain, Size: 249 bytes --]
On Wednesday, December 29, 2010 04:35:48 Vivi wrote:
> LTP test case utimensat01.c can't build without file usctest.h.
this compiles fine for me on x86_64/Linux as well as Blackfin/Linux without
this change. so why do you need this ?
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 371 bytes --]
------------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [Bug Fix] utimensat01 can't build
2010-12-29 16:44 ` Mike Frysinger
@ 2011-01-05 10:16 ` Vivi
0 siblings, 0 replies; 5+ messages in thread
From: Vivi @ 2011-01-05 10:16 UTC (permalink / raw)
To: Mike Frysinger; +Cc: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 997 bytes --]
>>On Wednesday, December 29, 2010 04:35:48 Vivi wrote:
>> LTP test case utimensat01.c can't build without file usctest.h.
>this compiles fine for me on x86_64/Linux as well as Blackfin/Linux without
>this change. so why do you need this ?
>-mike
I get following error when build utimensat01.c.
--
bfin-uclinux-gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
-I/home/test/work/cruise/checkouts/uclinux-dist/testsuites/ltp/ltp-full-20101031/testcases/kernel/include
-I../../../../include -I../../../../include -D__UCLIBC__ -DUCLINUX
-L../../../../lib utimensat01.c -lltp -o utimensat01
../../../../lib/libltp.a(tst_res.o): In function `tst_print':
/home/test/work/cruise/checkouts/uclinux-dist/testsuites/ltp/ltp-full-20101031/lib/tst_res.c:512:
undefined reference to `_TEST_ERRNO'
/home/test/work/cruise/checkouts/uclinux-dist/testsuites/ltp/ltp-full-20101031/lib/tst_res.c:512:
undefined reference to `_TEST_ERRNO'
collect2: ld returned 1 exit status
make: *** [utimensat01] Error 1
--
[-- Attachment #1.2: Type: text/html, Size: 1129 bytes --]
[-- Attachment #2: Type: text/plain, Size: 371 bytes --]
------------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [Bug Fix] utimensat01 can't build
2010-12-29 9:35 [LTP] [Bug Fix] utimensat01 can't build Vivi
2010-12-29 16:44 ` Mike Frysinger
@ 2011-01-05 13:00 ` Hannu Heikkinen
2011-01-15 5:46 ` Garrett Cooper
2 siblings, 0 replies; 5+ messages in thread
From: Hannu Heikkinen @ 2011-01-05 13:00 UTC (permalink / raw)
To: ext Vivi; +Cc: LTP mailing list
On 29/12/10 10:35 +0100, ext Vivi wrote:
> LTP test case utimensat01.c can't build without file usctest.h.
>
> Bellow is the patch:
> --
> Index: testcases/kernel/syscalls/utimensat/utimensat01.c
> ===================================================================
> --- testcases/kernel/syscalls/utimensat/utimensat01.c (revision 161)
> +++ testcases/kernel/syscalls/utimensat/utimensat01.c (revision 183)
> @@ -40,6 +40,7 @@
> #include <string.h>
> #include <sys/stat.h>
> #include <test.h>
> +#include "usctest.h"
> #include "linux_syscall_numbers.h"
>
> char *TCID = "utimensat01"; /* Test program identifier. */
> --
>
>
>
> Best regards,
> Vivi Li
Hi,
for your patch emails, can you please you format like:
Subject: [LTP] [PATCH] ....
and if secondary patch:
Subject: [LTP] [PATCH v2] ....
etc.
Instead of using [Bug Fix] or similar keywords.
Btw, is this btw described in ltp web site?
br,
Hannu
------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LTP] [Bug Fix] utimensat01 can't build
2010-12-29 9:35 [LTP] [Bug Fix] utimensat01 can't build Vivi
2010-12-29 16:44 ` Mike Frysinger
2011-01-05 13:00 ` Hannu Heikkinen
@ 2011-01-15 5:46 ` Garrett Cooper
2 siblings, 0 replies; 5+ messages in thread
From: Garrett Cooper @ 2011-01-15 5:46 UTC (permalink / raw)
To: Vivi; +Cc: LTP mailing list
On Wed, Dec 29, 2010 at 1:35 AM, Vivi <violetleigh@gmail.com> wrote:
> LTP test case utimensat01.c can't build without file usctest.h.
>
> Bellow is the patch:
> --
> Index: testcases/kernel/syscalls/utimensat/utimensat01.c
> ===================================================================
> --- testcases/kernel/syscalls/utimensat/utimensat01.c (revision 161)
> +++ testcases/kernel/syscalls/utimensat/utimensat01.c (revision 183)
> @@ -40,6 +40,7 @@
> #include <string.h>
> #include <sys/stat.h>
> #include <test.h>
> +#include "usctest.h"
> #include "linux_syscall_numbers.h"
>
> char *TCID = "utimensat01"; /* Test program identifier. */
Committed -- thanks.
-Garrett
------------------------------------------------------------------------------
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 [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-01-15 5:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-29 9:35 [LTP] [Bug Fix] utimensat01 can't build Vivi
2010-12-29 16:44 ` Mike Frysinger
2011-01-05 10:16 ` Vivi
2011-01-05 13:00 ` Hannu Heikkinen
2011-01-15 5:46 ` Garrett Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox