1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00
Commit Graph

43 Commits

Author SHA1 Message Date
Stefan Metzmacher
2097ac64fc r22658: - add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems

metze
2007-10-10 14:51:58 -05:00
James Peach
a8fe3c34e2 r22415: Remove test directory once we are finished. Merge -r 22393:22394
from SAMBA_3_0.
2007-10-10 14:51:17 -05:00
Stefan Metzmacher
8b6d907604 r22279: add a lot more detailed strtoll() and strtoull() tests
metze
2007-10-10 14:50:55 -05:00
Stefan Metzmacher
5d1e0f167a r22253: - make the strtoll tests more verbose
- add initial strtoull tests

metze
2007-10-10 14:50:46 -05:00
Stefan Metzmacher
236def3494 r22246: only test strtoll once
metze
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
8267e2964e r22243: remove useless printf's
metze
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
d51af1b3ac r22239: use strlcpy instead of strcpy to make the IBM checker happy
metze
2007-10-10 14:50:45 -05:00
Stefan Metzmacher
2552a3300b r22223: make comparing of struct tm more verbose and more portable
metze
2007-10-10 14:50:40 -05:00
Stefan Metzmacher
08a5e97606 r22216: move strptime testsuite into it's own file
so we can include it for the configure test

as it seems that strptime() is really broken on some hosts
in the build farm, re should use the replacement code
when we detect this in the configure test

metze
2007-10-10 14:50:38 -05:00
Stefan Metzmacher
aba6452170 r22215: add strptime replacement to libreplace based on the patch
from jojowil@hvcc.edu to bug 4063

also add a testsuite for strptime()

metze
2007-10-10 14:50:38 -05:00
Jelmer Vernooij
7003a6fa1a r22203: Improve the replace testsuite a bit. 2007-10-10 14:50:38 -05:00
Stefan Metzmacher
dd83a8dad8 r22152: merge from samba3:
remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze
2007-10-10 14:49:54 -05:00
Stefan Metzmacher
9cdb9f1cee r21798: unsetenv() returns void on some platforms (BSD)
metze
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
c6b4f2d151 r21796: check if unsetenv() works on an non-existing key
metze
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
3df206ddfa r21794: add setenv()/unsetenv() testsuite
metze
2007-10-10 14:49:27 -05:00
Stefan Metzmacher
b3a3c44f42 r20819: - include system/aio.h
- use full prototype for main
- use ifdef instead if

metze
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
5b8387969d r20815: merge from samba3
metze
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
d3e10679af r20810: unlink the test file when the test is done
metze
2007-10-10 14:43:34 -05:00
Paul Green
d0a376732e r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) because
when pipe files are substituting for unix domain sockets, pipes provide
only uni-directional i/o capabilities.
2007-10-10 14:28:39 -05:00
Jelmer Vernooij
8913d60c72 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
2007-10-10 14:24:39 -05:00
Andrew Tridgell
be43b8c569 r19411: sigh - we can't call close here as its mapped to swrap_close() in the
build farm
2007-10-10 14:21:28 -05:00
Andrew Tridgell
e679163ac2 r19410: - fixed checker error
- close the sockets after the socketpair test
2007-10-10 14:21:28 -05:00
Jelmer Vernooij
448a3ecc01 r19393: Add replacement function for socketpair() 2007-10-10 14:21:24 -05:00
Jelmer Vernooij
48d316e759 r19373: Merge changes from subunit branch: Convert libreplace testsuite to a
standalone program that speaks subunit.
2007-10-10 14:21:19 -05:00
Andrew Tridgell
48243721df r19116: fixed a checker warning 2007-10-10 14:20:36 -05:00
Stefan Metzmacher
71fc73e11c r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtorture
metze
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
6b5f06b059 r19029: test if opendir() on a file sets errno = ENOTDIR
metze
2007-10-10 14:20:30 -05:00
Andrew Tridgell
1b17f0f08f r18491: fixed a warning 2007-10-10 14:18:37 -05:00
Stefan Metzmacher
d65e94fea9 r18444: return the correct value on error
metze
2007-10-10 14:18:30 -05:00
Stefan Metzmacher
a5ebfd0ab7 r18442: run the os2_delete test in the testsuite too
that shows that Tru64 is broken...

It doesn't have getdirent() and the the replacement
code doesn't work there.

tridge: do you have any idea how to fix this?

metze
2007-10-10 14:18:30 -05:00
Stefan Metzmacher
8774eeb0dc r18419: fix include paths of the configure tests
metze
2007-10-10 14:18:26 -05:00
Andrew Tridgell
095b805774 r18343: fixed setlinebuf() prototype, added test for it, and use it in two
places to avoid a #ifdef
2007-10-10 14:18:13 -05:00
Andrew Tridgell
6ff100b266 r18332: added back in our shared mmap test code 2007-10-10 14:18:10 -05:00
Andrew Tridgell
57cd0ca176 r18160: - pread and pwrite replacements need to be non-static
- replacing rename() is pointless - all platforms have it (and the
  #define of rename breaks some code)

- use system/locale.h in snprintf.c

- fix passwd.h for initgroups

- stdlib is in replace.h, not needed elsewhere

- fix the initgroups replacement

- fix mapping of dl functions to rep_*
2007-10-10 14:17:44 -05:00
Andrew Tridgell
47c305c7dc r18141: an accidental nested C comment! 2007-10-10 14:17:39 -05:00
Andrew Tridgell
77d1a468e0 r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
2007-10-10 14:17:36 -05:00
Andrew Tridgell
64eff9d9d9 r18059: another cpp error 2007-10-10 14:17:10 -05:00
Andrew Tridgell
f5fc88f0c4 r18051: - add gcc warning flags
- fix piles of warnings and ftruncate bug in libreplace testsuite
2007-10-10 14:17:08 -05:00
Jelmer Vernooij
1f431dcd0a r18045: Update format, list "test" target as phony. 2007-10-10 14:17:07 -05:00
Andrew Tridgell
a68b339519 r18043: added strlcpy() test 2007-10-10 14:17:07 -05:00
Andrew Tridgell
a2a6782ec7 r18041: started on the bodies of the testsuite functions for libreplace 2007-10-10 14:17:07 -05:00
Andrew Tridgell
2dda101a5f r18038: make test fns static 2007-10-10 14:17:06 -05:00
Jelmer Vernooij
fe7ca4b145 r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
2007-10-10 14:17:05 -05:00