summaryrefslogtreecommitdiff
path: root/source4/lib/replace/test
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij5-1544/+0
2008-05-07libreplace: always provide utime() and utimes()Stefan Metzmacher1-0/+145
I'd like to also provide futimes(), but it seems that some systems doesn't support a it at kernel level. If someone knows how to write a portable replacement for futimes() please tell me... metze (This used to be commit a9604fe4a323dccb537cf02ea7594437b4995803)
2008-03-27libreplace: fix coverity ID 517 - untangle close from open in test/os2_delete.cMichael Adam1-1/+8
This is not a proper bug but the code is clearer now and we are tracking failure of open separate from that of close. Michael (This used to be commit 4ae4692bc6c6da15483a6f4a3363cdc23121efc7)
2008-02-29libreplace: ifdef out ip6 code if unsupported.Michael Adam1-0/+2
Michael (This used to be commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
2008-02-29libreplace: fix silly crashbug in getifaddrs_test().Michael Adam1-1/+3
Michael (This used to be commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
2008-02-29libreplace: add missing newline in output of getifaddrs test.Michael Adam1-1/+1
Michael (This used to be commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
2008-02-28libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam2-6/+99
Michael (This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)
2007-12-21r26468: Match getifaddrs more closely, add trivial test.Jelmer Vernooij1-0/+20
(This used to be commit 92898c043b5a2649a2e423d02bcdaea78ae55737)
2007-12-21r26102: libreplace: remove system/printing.h as it only contains samba3 stuffStefan Metzmacher1-1/+0
metze (This used to be commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij1-1/+1
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r24054: Fix some warningsVolker Lendecke1-2/+2
(This used to be commit b3473db397476d05e7ffca50a5f7a9b65e0a5b4a)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r22658: - add AC_GNU_SOURCE macro for systems which don't have itStefan Metzmacher1-1/+1
(sles8) - fix compiler warning on some systems metze (This used to be commit 2097ac64fc5b2b7e9a8221861a788c4a5f44948a)
2007-10-10r22415: Remove test directory once we are finished. Merge -r 22393:22394James Peach1-0/+2
from SAMBA_3_0. (This used to be commit a8fe3c34e2964c7080ec3702b53ec141d58b7e5f)
2007-10-10r22279: add a lot more detailed strtoll() and strtoull() testsStefan Metzmacher1-56/+254
metze (This used to be commit 8b6d9076040b27fb13b99209116973f5abcec667)
2007-10-10r22253: - make the strtoll tests more verboseStefan Metzmacher1-7/+56
- add initial strtoull tests metze (This used to be commit 5d1e0f167add3c75955a27aa1ff3b16523ccf5c2)
2007-10-10r22246: only test strtoll onceStefan Metzmacher1-1/+0
metze (This used to be commit 236def3494f20c59ad44464a5359f3387acbb708)
2007-10-10r22243: remove useless printf'sStefan Metzmacher1-2/+0
metze (This used to be commit 8267e2964eddf0afc13edec8e91f9e7ca1d72644)
2007-10-10r22239: use strlcpy instead of strcpy to make the IBM checker happyStefan Metzmacher1-2/+2
metze (This used to be commit d51af1b3ac8c332481f978b909ee461941f8a50d)
2007-10-10r22223: make comparing of struct tm more verbose and more portableStefan Metzmacher1-5/+25
metze (This used to be commit 2552a3300ba94b48e447e82f6b1d2ffa76d5c660)
2007-10-10r22216: move strptime testsuite into it's own fileStefan Metzmacher2-105/+155
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 (This used to be commit 08a5e9760643b9fbf00fdcf7163de7cf50e841e6)
2007-10-10r22215: add strptime replacement to libreplace based on the patchStefan Metzmacher1-0/+110
from jojowil@hvcc.edu to bug 4063 also add a testsuite for strptime() metze (This used to be commit aba64521707143e6505b3322c390882a918a148a)
2007-10-10r22203: Improve the replace testsuite a bit.Jelmer Vernooij1-11/+151
(This used to be commit 7003a6fa1ae1d163160ad509a7811f836be3aa6f)
2007-10-10r22152: merge from samba3:Stefan Metzmacher1-7/+0
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 (This used to be commit dd83a8dad8ad89a1485598fa6e11c9128d04e6d7)
2007-10-10r21798: unsetenv() returns void on some platforms (BSD)Stefan Metzmacher1-9/+1
metze (This used to be commit 9cdb9f1cee9af47e42e11357397b828b86632805)
2007-10-10r21796: check if unsetenv() works on an non-existing keyStefan Metzmacher1-0/+2
metze (This used to be commit c6b4f2d1518c989cacdc8869df89f02dc54857d7)
2007-10-10r21794: add setenv()/unsetenv() testsuiteStefan Metzmacher1-1/+61
metze (This used to be commit 3df206ddfadea5bf39a22e8c4c262764c79d302c)
2007-10-10r20819: - include system/aio.hStefan Metzmacher1-1/+2
- use full prototype for main - use ifdef instead if metze (This used to be commit b3a3c44f42455d6f84ab2f1f282fb177f8b6013c)
2007-10-10r20815: merge from samba3Stefan Metzmacher1-1/+1
metze (This used to be commit 5b8387969dcc1575a71eaf2daa8f42b94c87bbd0)
2007-10-10r20810: unlink the test file when the test is doneStefan Metzmacher1-0/+1
metze (This used to be commit d3e10679afe436b994813e60b117bc42e6c2ed8f)
2007-10-10r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) becausePaul Green1-2/+2
when pipe files are substituting for unix domain sockets, pipes provide only uni-directional i/o capabilities. (This used to be commit d0a376732ed7b4f807b99a1c46c54ad1f07c85cf)
2007-10-10r19495: Stop linking binaries twice (once before installation, once during ↵Jelmer Vernooij1-2/+9
build). Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than separate binaries. (This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
2007-10-10r19411: sigh - we can't call close here as its mapped to swrap_close() in theAndrew Tridgell1-3/+0
build farm (This used to be commit be43b8c5692f6bb6f1cc74d07f24376b43593256)
2007-10-10r19410: - fixed checker errorAndrew Tridgell1-1/+4
- close the sockets after the socketpair test (This used to be commit e679163ac26dccee028ca501e4ef6229a3c761ee)
2007-10-10r19393: Add replacement function for socketpair()Jelmer Vernooij1-0/+41
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
2007-10-10r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij2-24/+20
standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
2007-10-10r19116: fixed a checker warningAndrew Tridgell1-4/+2
(This used to be commit 48243721df27fa68b3232d71b411fba1e0ab7010)
2007-10-10r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtortureStefan Metzmacher1-4/+6
metze (This used to be commit 71fc73e11cee89f1b52cda5a32468a74a38cecc3)
2007-10-10r19029: test if opendir() on a file sets errno = ENOTDIRStefan Metzmacher1-2/+6
metze (This used to be commit 6b5f06b059583f9d685d71d48299ab334581c179)
2007-10-10r18491: fixed a warningAndrew Tridgell1-1/+1
(This used to be commit 1b17f0f08f85238717e88966cba311ff4b933a9a)
2007-10-10r18444: return the correct value on errorStefan Metzmacher1-2/+3
metze (This used to be commit d65e94fea910ff435b5cb6fe146f81b01df9abf6)
2007-10-10r18442: run the os2_delete test in the testsuite tooStefan Metzmacher2-6/+13
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 (This used to be commit a5ebfd0ab71f4f4288697f6fd3183a440ce7506b)
2007-10-10r18419: fix include paths of the configure testsStefan Metzmacher1-0/+110
metze (This used to be commit 8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7)
2007-10-10r18343: fixed setlinebuf() prototype, added test for it, and use it in twoAndrew Tridgell1-1/+2
places to avoid a #ifdef (This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
2007-10-10r18332: added back in our shared mmap test codeAndrew Tridgell1-0/+68
(This used to be commit 6ff100b26698a50ba79b587a687cc0d440f73b55)
2007-10-10r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell1-7/+0
- 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_* (This used to be commit 57cd0ca176387d6a3acabf9fedeef4f2a3a3dad7)
2007-10-10r18141: an accidental nested C comment!Andrew Tridgell1-1/+1
(This used to be commit 47c305c7dc5d2b2b61afe9f42f77ee3652c61a79)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell1-24/+21
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) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
2007-10-10r18059: another cpp errorAndrew Tridgell1-1/+1
(This used to be commit 64eff9d9d998ec2fd3d75393eb57028dfb942acf)