summaryrefslogtreecommitdiffstats
path: root/test/time
Commit message (Collapse)AuthorAgeFilesLines
* Fix ctime() standard compliance bugDavid A Ramos2010-07-271-0/+44
| | | | | | | | | | | | | | | | | | | | | fixes issue2209: ctime() was updated in 0.9.31 to call localtime_r() instead of localtime() to avoid using a static buffer. Unfortunately, this change replaces the static buffer (which is zeroed out on initialization) with an uninitialized local buffer. In the common case, this has no effect. However, with a sufficiently large time_t value, the value returned differs from that returned by asctime(localtime(t)), and thus violates the ANSI/ISO standard. An example input is (on a 64-bit machine): time_t t = 0x7ffffffffff6c600; Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* try to probe if stat.t_mtim.tv_nsec is availableBernhard Reutner-Fischer2009-11-262-20/+36
| | | | | | Do not treat tv_nsec mismatches as errors on filesystems without support for it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* futimens: add functionBernhard Reutner-Fischer2009-11-201-0/+90
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso2009-03-162-9/+14
| | | | | | | | | | | Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-1/+1
|
* Disable tst-ftime_l test if Extended Locale SupportCarmelo Amoroso2007-11-231-0/+4
| | | | | | is not enabled, otherwise build will fail Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* This test needs XLOCALE to work."Steven J. Hill"2007-04-211-1/+1
|
* fixup shadowed warningsMike Frysinger2007-01-292-5/+5
|
* fix license noticeMike Frysinger2006-07-051-1/+1
|
* keep uclibc features in the sourceMike Frysinger2006-03-182-5/+1
|
* If locale support is not enabled, don't build 'tst_ftime_l'."Steven J. Hill"2006-03-171-0/+4
|
* disable test since we purposefully dont handle itMike Frysinger2006-03-012-2/+7
|
* move to new time dirMike Frysinger2006-03-011-0/+76
|
* grab some time tests from glibcMike Frysinger2006-03-0115-0/+1290