1e4589b921
- r263220 Migrate tools/regression/sbin/ to the new tests layout. - r263222 Add Makefile missed in r263220. - r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. - r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout. - r263345 Expand tabs that sneaked in into spaces. - r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout. - r263348 Add Makefiles missed in r263346. - r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout. - r263388 Mark multi_test as requiring /usr/share/dict/words. - r263814 Fix path to the run.pl script to let these tests run. - r264742 Prevent building tests when bootstrapping make. This is 'make tinderbox' clean.
24 lines
928 B
Bash
24 lines
928 B
Bash
# $FreeBSD$
|
|
|
|
REGRESSION_START($1)
|
|
|
|
echo '1..15'
|
|
|
|
REGRESSION_TEST(`b', `printf "abc%b%b" "def\n" "\cghi"')
|
|
REGRESSION_TEST(`d', `printf "%d,%5d,%.5d,%0*d,%.*d\n" 123 123 123 5 123 5 123')
|
|
REGRESSION_TEST(`f', `printf "%f,%-8.3f,%f,%f\n" +42.25 -42.25 inf nan')
|
|
REGRESSION_TEST(`l1', `LC_ALL=en_US.ISO8859-1 printf "%d\n" $(printf \"\\344)')
|
|
REGRESSION_TEST(`l2', `LC_ALL=en_US.UTF-8 printf "%d\n" $(printf \"\\303\\244)')
|
|
REGRESSION_TEST(`m1', `printf "%c%%%d\0\045\n" abc \"abc')
|
|
REGRESSION_TEST(`m2', `printf "abc\n\cdef"')
|
|
REGRESSION_TEST(`m3', `printf "%%%s\n" abc def ghi jkl')
|
|
REGRESSION_TEST(`m4', `printf "%d,%f,%c,%s\n"')
|
|
REGRESSION_TEST(`m5', `printf -- "-d\n"')
|
|
REGRESSION_TEST(`s', `printf "%.3s,%-5s\n" abcd abc')
|
|
REGRESSION_TEST('zero', `printf "%u%u\n" 15')
|
|
REGRESSION_TEST('zero', `printf "%d%d\n" 15')
|
|
REGRESSION_TEST('zero', `printf "%d%u\n" 15')
|
|
REGRESSION_TEST('zero', `printf "%u%d\n" 15')
|
|
|
|
REGRESSION_END()
|