Skip to content

EROFS test fixes and improvements

Glenn Washburn grub-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v24 patches 2 repliesSuperseded
  3. v14 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Update patch #1 to include Daniel's suggestions

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/erofs_test: Fix mkfs.erofs version test to not use process substitution bashismtests/util/grub-fs-tester.in+4 -31 reply
2/4tests/erofs_test: Remove root checktests/erofs_test.in+0 -80 replies
3/4tests/erofs_test: Disable filetime check for erofs_compacttests/util/grub-fs-tester.in+4 -00 replies
4/4tests/erofs_test: Improve accuracy of FSTIME checktests/util/grub-fs-tester.in+6 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel KiperSudhakar Kuppusamy
SeriesR-b
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] EROFS test fixes and improvements

v3:
* Update patch #1 to include Daniel's suggestions
v2:
* The first patch was from the wrong branch and needed to be modified.

Glenn

Glenn Washburn (4):
tests/erofs_test: Fix mkfs.erofs version test to not use process
substitution bashism
tests/erofs_test: Remove root check
tests/erofs_test: Disable filetime check for erofs_compact tests/erofs_test: Improve accuracy of FSTIME check

 tests/erofs_test.in          |  8 --------
 tests/util/grub-fs-tester.in | 17 ++++++++++++++---
 2 files changed, 14 insertions(+), 11 deletions(-)

Range-diff against v2:
1: eb61a73942f5 ! 1: 1126cf87cc17 tests/erofs_test: Fix mkfs.erofs version test to not use process substitution bashism

    @@ tests/util/grub-fs-tester.in: for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLO
      		    NOFSLABEL=y;;
      		x"erofs_"*)
     -		    MKFS_EROFS_VERSION=$(mkfs.erofs -V 2>/dev/null | tr ' ' '\n' | grep '^[0-9]')
    --		    # check if the version is at least 1.6
    ++		    MKFS_EROFS_VERSION=$(mkfs.erofs 2>/dev/null | head -n 1 | (read _ V; echo $V))
    + 		    # check if the version is at least 1.6
     -		    if [ $(sort -V <(echo "$MKFS_EROFS_VERSION") <(echo "1.6") | head -n 1) != "1.6" ]; then
    -+		    VER=$(mkfs.erofs 2>/dev/null | head -n1 | (read _ V; echo $V))
    -+		    if [ "$(echo -e "${VER}\n1.6" | sort -V | head -n1)" != "1.6" ]; then
    ++		    if [ "$(echo -e "${MKFS_EROFS_VERSION}\n1.6" | sort -V | head -n 1)" != "1.6" ]; then
      			NOFSLABEL=y
     -		    fi
     +			unset FSLABEL
2:  a1d8b6d3b6fa = 2:  742e1e6abe49 tests/erofs_test: Remove root check
3:  7883a9f3b23c = 3:  afbc5532b661 tests/erofs_test: Disable filetime check for erofs_compact
4:  9b82fc4ed65e = 4:  46dd18499a81 tests/erofs_test: Improve accuracy of FSTIME check
Signature · 7 lines
2.34.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel