Date: Fri, 21 Apr 2017 22:59:11 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439131 - head/sysutils/e2fsprogs/files Message-ID: <201704212259.v3LMxB6Q045182@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704212259.v3LMxB6Q045182>