[uClibc-cvs] svn commit: trunk/buildroot/package/ltp-testsuite
andersen at uclibc.org
andersen at uclibc.org
Tue Aug 9 07:47:50 UTC 2005
Author: andersen
Date: 2005-08-09 01:47:50 -0600 (Tue, 09 Aug 2005)
New Revision: 11081
Log:
some platforms (such as arm with 2.4.x kernel headers) lack
__NR_fremovexattr and thus need special case handling
Modified:
trunk/buildroot/package/ltp-testsuite/ltp-testsuite.patch
Changeset:
Modified: trunk/buildroot/package/ltp-testsuite/ltp-testsuite.patch
===================================================================
--- trunk/buildroot/package/ltp-testsuite/ltp-testsuite.patch 2005-08-09 06:08:51 UTC (rev 11080)
+++ trunk/buildroot/package/ltp-testsuite/ltp-testsuite.patch 2005-08-09 07:47:50 UTC (rev 11081)
@@ -120,3 +120,24 @@
static void setup();
static void cleanup();
static int setup01();
+--- ltp-full-20050707/testcases/kernel/fs/acls/acl_file_test.c.orig 2005-08-09 01:41:25.000000000 -0600
++++ ltp-full-20050707/testcases/kernel/fs/acls/acl_file_test.c 2005-08-09 01:42:29.000000000 -0600
+@@ -52,12 +52,18 @@
+ }
+
+ //s = syscall(237, fd,tok); //fremovexattr
++#ifdef __NR_fremovexattr
+ s = syscall(__NR_fremovexattr, fd,tok); //fremovexattr
+ if (s == -1) {
+ printf ("User unable to remove extended attributes file %s !\n", argv[1]);
+ printf("errno = %i\n", errno);
+ rc = 1;
+ }
++#else
++ printf ("User unable to remove extended attributes file %s !\n", argv[1]);
++ printf("errno = %i\n", ENOSYS);
++ rc = 1;
++#endif
+
+ close (fd);
+ return rc;
More information about the uClibc-cvs
mailing list