xfs/073 has been failing for me for a while on most of my test setups
with:
diff: memory exhausted
from the large recursive diff it does. Replace that with a pipe using
md5sum to reduce the memory usage.
Based on a snipplet from Darrick Wong.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
fi
echo comparing new image files to old
- diff -Naur $source_dir $target_dir
+ (cd $source_dir; find . -type f -print0 | xargs -0 md5sum) | \
+ (cd $target_dir ; md5sum -c --quiet)
echo comparing new image directories to old
find $source_dir | _filter_path $source_dir > $tmp.manifest1