freebsd-ports/sysutils/e2fsprogs/files/patch-tests_r__inline__xattr_script
Matthias Andree 9867fe2790 Update to new upstream release 1.44.3.
* several features for debugfs added
* there is a new e2mmpstatus command
* there are several bug fixes, among them endianness fixes and robustness
  fixes against corrupted input.
* add hashmap.h header file, for libext2fs users
* a few type fixes for format strings,
  found while building for MIPS, ARM, or i386
* add new option SLOWTESTS which prevents skipping of slow tests
* add new option BASHTESTS which enables tests that require bash
  (currently affects only the test f_large_dir that is also marked
   as slow)

Full release notes:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.3>

Reset PORTREVISION in slave ports, e2fsprogs{-libss,-libuuid} now
that we have bumped PORTVERSION.

MFH:		2018Q3
2018-07-10 13:48:31 +00:00

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