mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Ensure dump/restore QA output is in a canonical whitespace form. In particular, sizes of directory inodes chan change, validly, between dumped/restored filesystems which was messing up diffs.
This commit is contained in:
+1
-1
@@ -758,7 +758,7 @@ _ls_filter()
|
||||
/^c/ { date = $9; sub(date,"DATE"); print}
|
||||
/^d/ { size = $5; sub(size,"SIZE"); print}
|
||||
{print}' \
|
||||
| sed -e 's/total [0-9][0-9]*/total TOTAL/'
|
||||
| sed -e 's/total [0-9][0-9]*/total TOTAL/' -e 's/[ \t][ \t]*/ /g'
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user