195142Sjmallett# $FreeBSD: releng/11.0/usr.bin/xargs/tests/regress.sh 287005 2015-08-21 18:42:57Z ngie $ 295142Sjmallett 3286461Sallanjudeecho 1..16 4137587Snik 598754SjmallettREGRESSION_START($1) 695142Sjmallett 7263227SjmmvREGRESSION_TEST(`normal', `xargs echo The <${SRCDIR}/regress.in') 8263227SjmmvREGRESSION_TEST(`I', `xargs -I% echo The % % % %% % % <${SRCDIR}/regress.in') 9263227SjmmvREGRESSION_TEST(`J', `xargs -J% echo The % again. <${SRCDIR}/regress.in') 10263227SjmmvREGRESSION_TEST(`L', `xargs -L3 echo <${SRCDIR}/regress.in') 11286461SallanjudeREGRESSION_TEST(`P1', `xargs -P1 echo <${SRCDIR}/regress.in') 12263227SjmmvREGRESSION_TEST(`R', `xargs -I% -R1 echo The % % % %% % % <${SRCDIR}/regress.in') 13263227SjmmvREGRESSION_TEST(`n1', `xargs -n1 echo <${SRCDIR}/regress.in') 14263227SjmmvREGRESSION_TEST(`n2', `xargs -n2 echo <${SRCDIR}/regress.in') 15287005SngieREGRESSION_TEST(`n2P0',`xargs -n2 -P0 echo <${SRCDIR}/regress.in | sort') 16263227SjmmvREGRESSION_TEST(`n3', `xargs -n3 echo <${SRCDIR}/regress.in') 17263227SjmmvREGRESSION_TEST(`0', `xargs -0 -n1 echo <${SRCDIR}/regress.0.in') 18263227SjmmvREGRESSION_TEST(`0I', `xargs -0 -I% echo The % %% % <${SRCDIR}/regress.0.in') 19263227SjmmvREGRESSION_TEST(`0J', `xargs -0 -J% echo The % again. <${SRCDIR}/regress.0.in') 20263227SjmmvREGRESSION_TEST(`0L', `xargs -0 -L2 echo <${SRCDIR}/regress.0.in') 21286461SallanjudeREGRESSION_TEST(`0P1', `xargs -0 -P1 echo <${SRCDIR}/regress.0.in') 22263227SjmmvREGRESSION_TEST(`quotes', `xargs -n1 echo <${SRCDIR}/regress.quotes.in') 2395166Sjmallett 2498754SjmallettREGRESSION_END() 25