summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-06-26 18:13:34 -0500
committerEric Sandeen <sandeen@redhat.com>2013-06-26 18:13:34 -0500
commit2cc6bb2850cde9e77d9676252b5007bb60d58565 (patch)
tree9ee957393a406986ff18abb258ed01a2f88ba1f8
parent802a0e42f15a62b222dd83ff5f8495f04ed8e4c1 (diff)
downloade2fsprogs-2cc6bb2850cde9e77d9676252b5007bb60d58565.tar.gz
e2fsprogs-2cc6bb2850cde9e77d9676252b5007bb60d58565.tar.xz
e2fsprogs-2cc6bb2850cde9e77d9676252b5007bb60d58565.zip
Fix regression test once more, with feeling
-rw-r--r--e2fsprogs-1.42.8-f_extent_oobounds.patch26
1 files changed, 8 insertions, 18 deletions
diff --git a/e2fsprogs-1.42.8-f_extent_oobounds.patch b/e2fsprogs-1.42.8-f_extent_oobounds.patch
index dc9b1e5..708d310 100644
--- a/e2fsprogs-1.42.8-f_extent_oobounds.patch
+++ b/e2fsprogs-1.42.8-f_extent_oobounds.patch
@@ -1,25 +1,15 @@
-[PATCH] e2fsprogs: fix tests/f_extent_oobounds
-
-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 to get the right executable.
-
-Signed-off-by: Eric Sandeen <sandeen@redhat.com>
----
-
-diff --git a/tests/f_extent_oobounds/script b/tests/f_extent_oobounds/script
-index 31ac6c9..b1f0e1a 100644
---- a/tests/f_extent_oobounds/script
-+++ b/tests/f_extent_oobounds/script
-@@ -5,7 +5,7 @@ TEST_DATA="$test_name.tmp"
+Index: e2fsprogs-1.42.8/tests/f_extent_oobounds/script
+===================================================================
+--- e2fsprogs-1.42.8.orig/tests/f_extent_oobounds/script
++++ e2fsprogs-1.42.8/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
+-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
-