Tweak some tests so they work when the path to the test directory or $HOME contains spaces. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
		
			
				
	
	
		
			7 lines
		
	
	
		
			253 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			253 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# FEATURE: CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
 | 
						|
 | 
						|
[ -n "$d" ] || d=..
 | 
						|
find "$d" -name \*works -type f -print0 | xargs -0 md5sum > logfile.gnu
 | 
						|
find "$d" -name \*works -type f -print0 | busybox xargs -0 md5sum > logfile.bb
 | 
						|
diff -u logfile.gnu logfile.bb
 |