aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2017-04-21 22:59:11 +0000
committerMatthias Andree <mandree@FreeBSD.org>2017-04-21 22:59:11 +0000
commit7841256d5c902e33db5e9db13ad44b5756652378 (patch)
tree83415eeaac8afed0f1f7652d1491497c1359c43b /sysutils
parentf756b579a89d742116c895a4af167b32d728fa32 (diff)
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script b/sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script
new file mode 100644
index 000000000000..37cbb22d5ff2
--- /dev/null
+++ b/sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script
@@ -0,0 +1,22 @@
+--- tests/r_inline_xattr/script.orig 2017-04-09 19:31:41 UTC
++++ tests/r_inline_xattr/script
+@@ -10,8 +10,8 @@ gunzip < $IMAGE > $TMPFILE
+ echo "resize2fs test" > $OUT
+
+ # Look at existing inline extended attribute
+ echo "debugfs -R ''stat file'' test.img 2>&1 | grep ''^Inode\|in inode body\|user.name (''" >> $OUT
+-$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|user.name (" >> $OUT
++$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep -E "^Inode|in inode body|user.name \(" >> $OUT
+ status=$?
+ echo Exit status is $status >> $OUT
+
+@@ -23,8 +23,8 @@ echo Exit status is $status >> $OUT.new
+ sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
+
+ # Look at inline extended attribute in resized fs
+ echo "debugfs -R ''stat file'' test.img 2>&1 | grep ''^Inode\|in inode body\|user.name (''" >> $OUT
+-$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|user.name (" >> $OUT
++$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep -E "^Inode|in inode body|user.name \(" >> $OUT
+ status=$?
+ echo Exit status is $status >> $OUT
+