[PATCH] Modify several tests to use test-skeleton.c
Arjun Shankar
arjun.is@lostca.se
Thu Oct 30 14:04:00 GMT 2014
This patch modifies several test cases to use test-skeleton.c.
It was generated by a bash script written for this purpose and
thus excludes several other tests which I deemed worth a visual
inspection before making the change.
I intend to follow up with individual patches to the tests
skipped by the script.
The script itself resides at http://git.io/WODAmg and should
reproduce this very patch when run against master.
ChangeLog:
2014-10-30 Arjun Shankar <arjun.is@lostca.se>
* catgets/test-gencat.c: Use test-skeleton.c.
* catgets/tst-catgets.c: Likewise.
* csu/tst-empty.c: Likewise.
* elf/tst-audit2.c: Likewise.
* elf/tst-global1.c: Likewise.
* elf/tst-pathopt.c: Likewise.
* elf/tst-piemod1.c: Likewise.
* elf/tst-tls10.c: Likewise.
* elf/tst-tls11.c: Likewise.
* elf/tst-tls12.c: Likewise.
* gnulib/tst-gcc.c: Likewise.
* iconvdata/tst-e2big.c: Likewise.
* iconvdata/tst-loading.c: Likewise.
* iconv/tst-iconv1.c: Likewise.
* iconv/tst-iconv2.c: Likewise.
* inet/test-inet6_opt.c: Likewise.
* inet/tst-gethnm.c: Likewise.
* inet/tst-network.c: Likewise.
* inet/tst-ntoa.c: Likewise.
* intl/tst-codeset.c: Likewise.
* intl/tst-gettext2.c: Likewise.
* intl/tst-gettext3.c: Likewise.
* intl/tst-ngettext.c: Likewise.
* intl/tst-translit.c: Likewise.
* io/test-stat.c: Likewise.
* libio/test-fmemopen.c: Likewise.
* libio/tst-freopen.c: Likewise.
* libio/tst-sscanf.c: Likewise.
* libio/tst-ungetwc1.c: Likewise.
* libio/tst-ungetwc2.c: Likewise.
* libio/tst-widetext.c: Likewise.
* localedata/tst-ctype.c: Likewise.
* localedata/tst-digits.c: Likewise.
* localedata/tst-leaks.c: Likewise.
* localedata/tst-mbswcs1.c: Likewise.
* localedata/tst-mbswcs2.c: Likewise.
* localedata/tst-mbswcs3.c: Likewise.
* localedata/tst-mbswcs4.c: Likewise.
* localedata/tst-mbswcs5.c: Likewise.
* localedata/tst-setlocale.c: Likewise.
* localedata/tst-trans.c: Likewise.
* localedata/tst-wctype.c: Likewise.
* localedata/tst-xlocale1.c: Likewise.
* login/tst-grantpt.c: Likewise.
* malloc/tst-calloc.c: Likewise.
* malloc/tst-malloc.c: Likewise.
* malloc/tst-mallocstate.c: Likewise.
* malloc/tst-mcheck.c: Likewise.
* malloc/tst-mtrace.c: Likewise.
* malloc/tst-obstack.c: Likewise.
* math/atest-exp2.c: Likewise.
* math/atest-exp.c: Likewise.
* math/atest-sincos.c: Likewise.
* math/test-matherr.c: Likewise.
* math/test-misc.c: Likewise.
* math/test-powl.c: Likewise.
* math/tst-definitions.c: Likewise.
* misc/tst-dirname.c: Likewise.
* misc/tst-efgcvt.c: Likewise.
* misc/tst-fdset.c: Likewise.
* misc/tst-hsearch.c: Likewise.
* misc/tst-mntent2.c: Likewise.
* nptl/tst-sem7.c: Likewise.
* nptl/tst-sem8.c: Likewise.
* nptl/tst-sem9.c: Likewise.
* nss/test-netdb.c: Likewise.
* posix/tst-fnmatch.c: Likewise.
* posix/tst-getlogin.c: Likewise.
* posix/tst-gnuglob.c: Likewise.
* posix/tst-mmap.c: Likewise.
* pwd/tst-getpw.c: Likewise.
* resolv/tst-inet_ntop.c: Likewise.
* rt/tst-timer.c: Likewise.
* stdio-common/test-fseek.c: Likewise.
* stdio-common/test-popen.c: Likewise.
* stdio-common/test-vfprintf.c: Likewise.
* stdio-common/tst-cookie.c: Likewise.
* stdio-common/tst-fileno.c: Likewise.
* stdio-common/tst-gets.c: Likewise.
* stdio-common/tst-obprintf.c: Likewise.
* stdio-common/tst-perror.c: Likewise.
* stdio-common/tst-sprintf2.c: Likewise.
* stdio-common/tst-sprintf3.c: Likewise.
* stdio-common/tst-sprintf.c: Likewise.
* stdio-common/tst-swprintf.c: Likewise.
* stdio-common/tst-tmpnam.c: Likewise.
* stdio-common/tst-unbputc.c: Likewise.
* stdio-common/tst-wc-printf.c: Likewise.
* stdlib/tst-environ.c: Likewise.
* stdlib/tst-fmtmsg.c: Likewise.
* stdlib/tst-limits.c: Likewise.
* stdlib/tst-rand48-2.c: Likewise.
* stdlib/tst-rand48.c: Likewise.
* stdlib/tst-random2.c: Likewise.
* stdlib/tst-random.c: Likewise.
* stdlib/tst-strtol.c: Likewise.
* stdlib/tst-strtoll.c: Likewise.
* stdlib/tst-tls-atexit.c: Likewise.
* stdlib/tst-xpg-basename.c: Likewise.
* string/test-ffs.c: Likewise.
* string/tst-bswap.c: Likewise.
* string/tst-inlcall.c: Likewise.
* string/tst-strtok.c: Likewise.
* string/tst-strxfrm.c: Likewise.
* sysdeps/x86_64/tst-audit10.c: Likewise.
* sysdeps/x86_64/tst-audit3.c: Likewise.
* sysdeps/x86_64/tst-audit4.c: Likewise.
* sysdeps/x86_64/tst-audit5.c: Likewise.
* time/tst-ftime_l.c: Likewise.
* time/tst-getdate.c: Likewise.
* time/tst-mktime3.c: Likewise.
* time/tst-mktime.c: Likewise.
* time/tst-posixtz.c: Likewise.
* time/tst-strptime2.c: Likewise.
* time/tst-strptime3.c: Likewise.
* wcsmbs/tst-btowc.c: Likewise.
* wcsmbs/tst-mbrtowc.c: Likewise.
* wcsmbs/tst-mbsrtowcs.c: Likewise.
* wcsmbs/tst-wchar-h.c: Likewise.
* wcsmbs/tst-wcpncpy.c: Likewise.
* wcsmbs/tst-wcrtomb.c: Likewise.
* wcsmbs/tst-wcsnlen.c: Likewise.
* wcsmbs/tst-wcstof.c: Likewise.
---
catgets/test-gencat.c | 7 +++++--
catgets/tst-catgets.c | 7 +++++--
csu/tst-empty.c | 7 +++++--
elf/tst-audit2.c | 7 +++++--
elf/tst-global1.c | 7 +++++--
elf/tst-pathopt.c | 7 +++++--
elf/tst-piemod1.c | 7 +++++--
elf/tst-tls10.c | 7 +++++--
elf/tst-tls11.c | 7 +++++--
elf/tst-tls12.c | 7 +++++--
gnulib/tst-gcc.c | 7 +++++--
iconv/tst-iconv1.c | 7 +++++--
iconv/tst-iconv2.c | 7 +++++--
iconvdata/tst-e2big.c | 7 +++++--
iconvdata/tst-loading.c | 7 +++++--
inet/test-inet6_opt.c | 7 +++++--
inet/tst-gethnm.c | 7 +++++--
inet/tst-network.c | 7 +++++--
inet/tst-ntoa.c | 7 +++++--
intl/tst-codeset.c | 7 +++++--
intl/tst-gettext2.c | 7 +++++--
intl/tst-gettext3.c | 7 +++++--
intl/tst-ngettext.c | 7 +++++--
intl/tst-translit.c | 7 +++++--
io/test-stat.c | 7 +++++--
libio/test-fmemopen.c | 7 +++++--
libio/tst-freopen.c | 7 +++++--
libio/tst-sscanf.c | 7 +++++--
libio/tst-ungetwc1.c | 7 +++++--
libio/tst-ungetwc2.c | 7 +++++--
libio/tst-widetext.c | 7 +++++--
localedata/tst-ctype.c | 7 +++++--
localedata/tst-digits.c | 7 +++++--
localedata/tst-leaks.c | 7 +++++--
localedata/tst-mbswcs1.c | 7 +++++--
localedata/tst-mbswcs2.c | 7 +++++--
localedata/tst-mbswcs3.c | 7 +++++--
localedata/tst-mbswcs4.c | 7 +++++--
localedata/tst-mbswcs5.c | 7 +++++--
localedata/tst-setlocale.c | 7 +++++--
localedata/tst-trans.c | 7 +++++--
localedata/tst-wctype.c | 7 +++++--
localedata/tst-xlocale1.c | 7 +++++--
login/tst-grantpt.c | 7 +++++--
malloc/tst-calloc.c | 7 +++++--
malloc/tst-malloc.c | 7 +++++--
malloc/tst-mallocstate.c | 7 +++++--
malloc/tst-mcheck.c | 7 +++++--
malloc/tst-mtrace.c | 7 +++++--
malloc/tst-obstack.c | 7 +++++--
math/atest-exp.c | 7 +++++--
math/atest-exp2.c | 7 +++++--
math/atest-sincos.c | 7 +++++--
math/test-matherr.c | 7 +++++--
math/test-misc.c | 7 +++++--
math/test-powl.c | 7 +++++--
math/tst-definitions.c | 7 +++++--
misc/tst-dirname.c | 7 +++++--
misc/tst-efgcvt.c | 7 +++++--
misc/tst-fdset.c | 7 +++++--
misc/tst-hsearch.c | 7 +++++--
misc/tst-mntent2.c | 7 +++++--
nptl/tst-sem7.c | 7 +++++--
nptl/tst-sem8.c | 7 +++++--
nptl/tst-sem9.c | 7 +++++--
nss/test-netdb.c | 7 +++++--
posix/tst-fnmatch.c | 7 +++++--
posix/tst-getlogin.c | 7 +++++--
posix/tst-gnuglob.c | 7 +++++--
posix/tst-mmap.c | 7 +++++--
pwd/tst-getpw.c | 7 +++++--
resolv/tst-inet_ntop.c | 7 +++++--
rt/tst-timer.c | 7 +++++--
stdio-common/test-fseek.c | 7 +++++--
stdio-common/test-popen.c | 7 +++++--
stdio-common/test-vfprintf.c | 7 +++++--
stdio-common/tst-cookie.c | 7 +++++--
stdio-common/tst-fileno.c | 7 +++++--
stdio-common/tst-gets.c | 7 +++++--
stdio-common/tst-obprintf.c | 7 +++++--
stdio-common/tst-perror.c | 7 +++++--
stdio-common/tst-sprintf.c | 7 +++++--
stdio-common/tst-sprintf2.c | 7 +++++--
stdio-common/tst-sprintf3.c | 7 +++++--
stdio-common/tst-swprintf.c | 7 +++++--
stdio-common/tst-tmpnam.c | 7 +++++--
stdio-common/tst-unbputc.c | 7 +++++--
stdio-common/tst-wc-printf.c | 7 +++++--
stdlib/tst-environ.c | 7 +++++--
stdlib/tst-fmtmsg.c | 7 +++++--
stdlib/tst-limits.c | 7 +++++--
stdlib/tst-rand48-2.c | 7 +++++--
stdlib/tst-rand48.c | 7 +++++--
stdlib/tst-random.c | 7 +++++--
stdlib/tst-random2.c | 7 +++++--
stdlib/tst-strtol.c | 7 +++++--
stdlib/tst-strtoll.c | 7 +++++--
stdlib/tst-tls-atexit.c | 7 +++++--
stdlib/tst-xpg-basename.c | 7 +++++--
string/test-ffs.c | 7 +++++--
string/tst-bswap.c | 7 +++++--
string/tst-inlcall.c | 7 +++++--
string/tst-strtok.c | 7 +++++--
string/tst-strxfrm.c | 7 +++++--
sysdeps/x86_64/tst-audit10.c | 11 +++++++----
sysdeps/x86_64/tst-audit3.c | 7 +++++--
sysdeps/x86_64/tst-audit4.c | 11 +++++++----
sysdeps/x86_64/tst-audit5.c | 7 +++++--
time/tst-ftime_l.c | 7 +++++--
time/tst-getdate.c | 7 +++++--
time/tst-mktime.c | 7 +++++--
time/tst-mktime3.c | 7 +++++--
time/tst-posixtz.c | 7 +++++--
time/tst-strptime2.c | 7 +++++--
time/tst-strptime3.c | 7 +++++--
wcsmbs/tst-btowc.c | 7 +++++--
wcsmbs/tst-mbrtowc.c | 7 +++++--
wcsmbs/tst-mbsrtowcs.c | 7 +++++--
wcsmbs/tst-wchar-h.c | 7 +++++--
wcsmbs/tst-wcpncpy.c | 7 +++++--
wcsmbs/tst-wcrtomb.c | 7 +++++--
wcsmbs/tst-wcsnlen.c | 7 +++++--
wcsmbs/tst-wcstof.c | 7 +++++--
123 files changed, 619 insertions(+), 250 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-This-patch-modifies-several-test-cases-to-use-test-s.patch
Type: text/x-patch
Size: 53521 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141030/0325eb3c/attachment.bin>
More information about the Libc-alpha
mailing list