summaryrefslogtreecommitdiff
path: root/source4/lib/replace/test/testsuite.c
AgeCommit message (Collapse)AuthorFilesLines
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-02-28libreplace: add extended getifaddrs test that prints out the interfaces.Michael Adam1-6/+3
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-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-10r22216: move strptime testsuite into it's own fileStefan Metzmacher1-105/+3
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 Vernooij1-22/+18
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-10r18442: run the os2_delete test in the testsuite tooStefan Metzmacher1-1/+8
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-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-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)
2007-10-10r18051: - add gcc warning flagsAndrew Tridgell1-46/+54
- fix piles of warnings and ftruncate bug in libreplace testsuite (This used to be commit f5fc88f0c4c752a2773d5280ed4d94818e2d4744)
2007-10-10r18045: Update format, list "test" target as phony.Jelmer Vernooij1-1/+1
(This used to be commit 1f431dcd0a1f9a2cd5a0a3b73fbf8b05b8bc6793)
2007-10-10r18043: added strlcpy() testAndrew Tridgell1-2/+23
(This used to be commit a68b3395199d2d47af3b23959e6da7109a9c5193)
2007-10-10r18041: started on the bodies of the testsuite functions for libreplaceAndrew Tridgell1-1/+43
(This used to be commit a2a6782ec721312e329cd16b609fb3eff8ad284d)
2007-10-10r18038: make test fns staticAndrew Tridgell1-43/+43
(This used to be commit 2dda101a5fcc40702df9fa2f932d6fe97ae64163)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij1-0/+366
* libreplace can now build stand-alone * add stub testsuite for libreplace * make talloc/tdb/ldb use libreplace (This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)