diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-28 21:54:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:08 -0500 |
commit | 87af8061c760b7d1eaa596183ac1635af73524b4 (patch) | |
tree | bc1b6026945a6213e178a2949d2b2217183c000b /source4/torture/torture.c | |
parent | 4abb4797613868e518baafb5f3618e78f67ac05c (diff) | |
download | samba-87af8061c760b7d1eaa596183ac1635af73524b4.tar.gz samba-87af8061c760b7d1eaa596183ac1635af73524b4.tar.bz2 samba-87af8061c760b7d1eaa596183ac1635af73524b4.zip |
r10592: Add "adfgets()" function, which allocates and reads a line from a fd.
Also add torture tests for this function and file_{load,save}. I've hardcoded
a file name here.. should I handle that neater somehow?
(This used to be commit 8fa383f182f1c4479979455968dd690edc0117ea)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r-- | source4/torture/torture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index e4284d5ba0..dfc63e6bd6 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2322,6 +2322,7 @@ static struct { {"LOCAL-IRPC", torture_local_irpc, 0}, {"LOCAL-BINDING", torture_local_binding_string, 0}, {"LOCAL-STRLIST", torture_local_util_strlist, 0}, + {"LOCAL-FILE", torture_local_util_file, 0}, {"LOCAL-IDTREE", torture_local_idtree, 0}, {"LOCAL-SOCKET", torture_local_socket, 0}, {"LOCAL-PAC", torture_pac, 0}, |