Re: can we pull in git as a dependency for xfstests?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Tue, Jun 11, 2024 at 07:24:05AM -0700, Darrick J. Wong wrote:
> > -	diff -Naur $source_dir $target_dir
> > +	git diff --no-index $source_dir $target_dir
> 
> How about
> 
> 	(cd $source_dir ; find . -type f -print0 | xargs -0 md5sum) | \
> 		(cd $target_dir ; md5sum -c --quiet)
> 
> since 073.out doesn't contain any diff output?

That works fine as well for me.





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux