svn commit: trunk/buildroot/package/ltp-testsuite
Author: sjhill
Date: 2007-05-09 15:58:59 -0700 (Wed, 09 May 2007) New Revision: 18599
Log:
Update version of LTP.
Removed:
trunk/buildroot/package/ltp-testsuite/ltp-testsuite-remove-bzero-bcmp.patch trunk/buildroot/package/ltp-testsuite/ltp-testsuite-stime-is-a-reserved-name.patch
Modified:
trunk/buildroot/package/ltp-testsuite/ltp-testsuite.mk trunk/buildroot/package/ltp-testsuite/ltp-testsuite.patch
Changeset:
Deleted: trunk/buildroot/package/ltp-testsuite/ltp-testsuite-remove-bzero-bcmp.patch
===================================================================
buildroot/package/ltp-testsuite/ltp-testsuite-remove-bzero-bcmp.patch +0 -65
@@ -1,65 +0,0 @@ -diff -ur ltp-full-20061121/testcases/kernel/fs/fsx-linux/fsx-linux.c ltp-full-20061121-patched/testcases/kernel/fs/fsx-linux/fsx-linux.c ---- ltp-full-20061121/testcases/kernel/fs/fsx-linux/fsx-linux.c 2006-11-21 14:31:29.000000000 -0600 -+++ ltp-full-20061121-patched/testcases/kernel/fs/fsx-linux/fsx-linux.c 2006-12-02 00:35:42.070475329 -0600 -@@ -322,7 +322,7 @@ - unsigned op = 0; - unsigned bad = 0; - -- if (bcmp(good_buf + offset, temp_buf, size) != 0) { -+ if (memcmp(good_buf + offset, temp_buf, size) != 0) { - prt("READ BAD DATA: offset = 0x%x, size = 0x%x\n", - offset, size); - prt("OFFSET\tGOOD\tBAD\tRANGE\n"); -diff -ur ltp-full-20061121/testcases/kernel/io/ltp-aiodio/fsx-linux.c ltp-full-20061121-patched/testcases/kernel/io/ltp-aiodio/fsx-linux.c ---- ltp-full-20061121/testcases/kernel/io/ltp-aiodio/fsx-linux.c 2006-11-21 14:31:27.000000000 -0600 -+++ ltp-full-20061121-patched/testcases/kernel/io/ltp-aiodio/fsx-linux.c 2006-12-02 00:36:09.496726421 -0600 -@@ -355,7 +355,7 @@ - unsigned op = 0; - unsigned bad = 0; - -- if (bcmp(good_buf + offset, temp_buf, size) != 0) { -+ if (memcmp(good_buf + offset, temp_buf, size) != 0) { - prt("READ BAD DATA: offset = 0x%x, size = 0x%x, fname = %s\n", - offset, size, fname); - prt("OFFSET\tGOOD\tBAD\tRANGE\n"); -diff -ur ltp-full-20061121/testcases/kernel/syscalls/symlink/symlink01.c ltp-full-20061121-patched/testcases/kernel/syscalls/symlink/symlink01.c ---- ltp-full-20061121/testcases/kernel/syscalls/symlink/symlink01.c 2006-11-21 14:31:28.000000000 -0600 -+++ ltp-full-20061121-patched/testcases/kernel/syscalls/symlink/symlink01.c 2006-12-02 00:36:18.081430964 -0600 -@@ -904,7 +904,7 @@ - "stat(2) failed to return inode information for a regular object file"); - return(0); - } -- else if (bcmp((char *)&statter, (char *)&asymlink, sizeof(statter)) != 0) { -+ else if (memcmp((char *)&statter, (char *)&asymlink, sizeof(statter)) != 0) { - TEST_RESULT=TFAIL; - sprintf(test_msg, - "lstat(2) and stat(2) do not return same inode information for an object file"); -diff -ur ltp-full-20061121/testcases/network/nfs/fsx-linux/fsx-linux.c ltp-full-20061121-patched/testcases/network/nfs/fsx-linux/fsx-linux.c ---- ltp-full-20061121/testcases/network/nfs/fsx-linux/fsx-linux.c 2006-11-21 14:31:24.000000000 -0600 -+++ ltp-full-20061121-patched/testcases/network/nfs/fsx-linux/fsx-linux.c 2006-12-02 00:35:51.495248935 -0600 -@@ -325,7 +325,7 @@ - unsigned op = 0; - unsigned bad = 0; - -- if (bcmp(good_buf + offset, temp_buf, size) != 0) { -+ if (memcmp(good_buf + offset, temp_buf, size) != 0) { - prt("READ BAD DATA: offset = 0x%x, size = 0x%x\n", - offset, size); - prt("OFFSET\tGOOD\tBAD\tRANGE\n"); -diff -ur ltp-full-20061121/testcases/network/nfsv4/locks/netsync.c ltp-full-20061121-patched/testcases/network/nfsv4/locks/netsync.c ---- ltp-full-20061121/testcases/network/nfsv4/locks/netsync.c 2006-11-21 14:31:27.000000000 -0600 -+++ ltp-full-20061121-patched/testcases/network/nfsv4/locks/netsync.c 2006-12-02 00:38:03.710097050 -0600 -@@ -57,11 +57,11 @@ - perror ("socket"); - exit(1); - } -- bzero(&local, sizeof(local)); -+ memset(&local, 0, sizeof(local)); - local.sin_family = AF_INET; - local.sin_port = htons(PORT); - local.sin_addr.s_addr = INADDR_ANY; -- bzero(&(local.sin_zero), 8); -+ memset(&(local.sin_zero), 0, 8); - - if(bind(sock, (struct sockaddr *)&local, sizeof(struct sockaddr))== -1){ - perror("bind");
Deleted: trunk/buildroot/package/ltp-testsuite/ltp-testsuite-stime-is-a-reserved-name.patch
===================================================================
buildroot/package/ltp-testsuite/ltp-testsuite-stime-is-a-reserved-name.patch +0 -93
93 lines not on this page · raw message
Modified: trunk/buildroot/package/ltp-testsuite/ltp-testsuite.mk
===================================================================
buildroot/package/ltp-testsuite/ltp-testsuite.mk +5 -1
@@ -3,7 +3,7 @@ # ltp-testsuite # ############################################################# -LTP_TESTSUITE_VERSION:=20061121 +LTP_TESTSUITE_VERSION:=20070228 LTP_TESTSUITE_SOURCE:=ltp-full-$(LTP_TESTSUITE_VERSION).tgz LTP_TESTSUITE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ltp LTP_TESTSUITE_CAT:=$(ZCAT)
@@ -37,6 +37,10 @@ -C $(LTP_TESTSUITE_DIR) all touch $(LTP_TESTSUITE_DIR)/.compiled +sjh: $(LTP_TESTSUITE_DIR)/Makefile + $(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) \ + -C $(LTP_TESTSUITE_DIR) all + $(LTP_TESTSUITE_DIR)/.installed: $(LTP_TESTSUITE_DIR)/.compiled # Use fakeroot to pretend to do 'make install' as root echo "$(MAKE1) $(TARGET_CONFIGURE_OPTS) CROSS_COMPILER=$(TARGET_CROSS) " \
Modified: trunk/buildroot/package/ltp-testsuite/ltp-testsuite.patch
===================================================================
buildroot/package/ltp-testsuite/ltp-testsuite.patch +0 -84
87 lines not on this page · raw message