mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 18:20:33 -04:00
Versus Kyle's submission, replace "egrep" by "grep -E" to avoid reintroducing deprecated tools. PR: 218614 Submitted by: Kyle Evans <bsdports@kyle-evans.net>
22 lines
1 KiB
Text
22 lines
1 KiB
Text
--- 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
|
|
|