forked from Lainports/opnsense-ports
20 lines
1,005 B
Text
20 lines
1,005 B
Text
--- tests/r_inline_xattr/script.orig 2018-07-10 05:14:26 UTC
|
|
+++ tests/r_inline_xattr/script
|
|
@@ -14,7 +14,7 @@ echo "resize2fs test" > $OUT.new
|
|
|
|
# Look at existing inline extended attribute
|
|
echo "debugfs -R ''stat file'' test.img 2>&1 | grep ''^Inode\|in inode body\|user.name (''" >> $OUT.new
|
|
-$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|user.name (" >> $OUT.new
|
|
+$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep -E "^Inode|in inode body|user.name \(" >> $OUT.new
|
|
status=$?
|
|
echo Exit status is $status >> $OUT.new
|
|
|
|
@@ -26,7 +26,7 @@ echo Exit status is $status >> $OUT.new
|
|
|
|
# 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.new
|
|
-$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep "^Inode\|in inode body\|user.name (" >> $OUT.new
|
|
+$DEBUGFS -R "stat file" $TMPFILE 2>&1 | grep -E "^Inode|in inode body|user.name \(" >> $OUT.new
|
|
status=$?
|
|
echo Exit status is $status >> $OUT.new
|
|
|