svn commit: r439131 - head/sysutils/e2fsprogs/files
Matthias Andree
mandree at FreeBSD.org
Fri Apr 21 22:59:13 UTC 2017
Author: mandree
Date: Fri Apr 21 22:59:11 2017
New Revision: 439131
URL: https://svnweb.freebsd.org/changeset/ports/439131
Log:
Remove GNUism in grep basic regular expression in self-test.
Versus Kyle's submission, replace "egrep" by "grep -E" to avoid
reintroducing deprecated tools.
PR: 218614
Submitted by: Kyle Evans <bsdports at kyle-evans.net>
Added:
head/sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script (contents, props changed)
Added: head/sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script Fri Apr 21 22:59:11 2017 (r439131)
@@ -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
+
More information about the svn-ports-head
mailing list