Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] e2fsprogs: fix tests/f_extent_oobounds
@ 2013-11-09  7:21 Robert Yang
  2013-11-09  7:21 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2013-11-09  7:21 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 4fdc3d77d4a875b7236536bf78849a4d1f6a7449:

  kbd: Fix stdarg related errors on uclibc (2013-11-08 17:31:36 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib rbt/e2fs
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/e2fs

Robert Yang (1):
  e2fsprogs: fix tests/f_extent_oobounds

 .../e2fsprogs-fix-tests-f_extent_oobounds.patch    |   43 ++++++++++++++++++++
 .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb |    1 +
 2 files changed, 44 insertions(+)
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/e2fsprogs-fix-tests-f_extent_oobounds.patch

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] e2fsprogs: fix tests/f_extent_oobounds
  2013-11-09  7:21 [PATCH 0/1] e2fsprogs: fix tests/f_extent_oobounds Robert Yang
@ 2013-11-09  7:21 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2013-11-09  7:21 UTC (permalink / raw)
  To: openembedded-core

tests/f_extent_oobounds runs debugfs from the system, not from the
source tree, and if the system's debugfs doesn't have the extent_open
command it fails silently.

Use $DEBUGFS and $MKE2FS to get the in-tree executables for this test,
just like other test scripts do.

(Build machines which run make check shouldn't need to have e2fsprogs
installed, and we should be testing just-built versions of the tools
anyway)

This patch is from:
http://www.spinics.net/lists/linux-ext4/msg38880.html

Eric Sandeen had sent it to the linux-ext4 mailing list, but haven't
been merge by now.

[YOCTO #5511]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 .../e2fsprogs-fix-tests-f_extent_oobounds.patch    |   43 ++++++++++++++++++++
 .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb |    1 +
 2 files changed, 44 insertions(+)
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/e2fsprogs-fix-tests-f_extent_oobounds.patch

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/e2fsprogs-fix-tests-f_extent_oobounds.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/e2fsprogs-fix-tests-f_extent_oobounds.patch
new file mode 100644
index 0000000..a4f7077
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/e2fsprogs-fix-tests-f_extent_oobounds.patch
@@ -0,0 +1,43 @@
+From 1bfd0e015be7dd22a44995dd2a7002328aedc0e6 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Sat, 9 Nov 2013 22:24:37 +0800
+Subject: [PATCH] e2fsprogs: fix tests/f_extent_oobounds
+
+Use $DEBUGFS and $MKE2FS to get the in-tree executables
+for this test.
+
+(Build machines which run make check shouldn't need to have
+e2fsprogs installed, and we should be testing just-built versions
+of the tools anyway)
+
+This patch is from:
+http://www.spinics.net/lists/linux-ext4/msg38880.html
+
+Eric Sandeen had sent it to the upstream, but haven't been merge by now.
+
+Upstream-Status: Backport
+
+Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ tests/f_extent_oobounds/script | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/f_extent_oobounds/script b/tests/f_extent_oobounds/script
+index 31ac6c9..b00b031 100644
+--- a/tests/f_extent_oobounds/script
++++ b/tests/f_extent_oobounds/script
+@@ -4,8 +4,8 @@ SKIP_GUNZIP="true"
+ TEST_DATA="$test_name.tmp"
+ 
+ dd if=/dev/zero of=$TMPFILE bs=1k count=256 > /dev/null 2>&1
+-mke2fs -Ft ext4 $TMPFILE > /dev/null 2>&1
+-debugfs -w $TMPFILE << EOF  > /dev/null 2>&1
++$MKE2FS -Ft ext4 $TMPFILE > /dev/null 2>&1
++$DEBUGFS -w $TMPFILE << EOF  > /dev/null 2>&1
+ write /dev/null testfile
+ extent_open testfile
+   insert_node 0 15 100
+-- 
+1.8.3.1
+
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb
index 154b864..22ad925 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb
@@ -8,6 +8,7 @@ SRC_URI += "file://acinclude.m4 \
             file://fix-icache.patch \
             file://debugfs-extent-header.patch \
             file://populate-extfs.sh \
+            file://e2fsprogs-fix-tests-f_extent_oobounds.patch \
 "
 
 SRC_URI[md5sum] = "8ef664b6eb698aa6b733df59b17b9ed4"
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-09  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-09  7:21 [PATCH 0/1] e2fsprogs: fix tests/f_extent_oobounds Robert Yang
2013-11-09  7:21 ` [PATCH 1/1] " Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox