gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19234 - in gnunet-update/test/old: . libfake libfake/src


From: gnunet
Subject: [GNUnet-SVN] r19234 - in gnunet-update/test/old: . libfake libfake/src
Date: Wed, 18 Jan 2012 13:54:32 +0100

Author: harsha
Date: 2012-01-18 13:54:32 +0100 (Wed, 18 Jan 2012)
New Revision: 19234

Added:
   gnunet-update/test/old/libfake/
   gnunet-update/test/old/libfake/Makefile.am
   gnunet-update/test/old/libfake/bootstrap
   gnunet-update/test/old/libfake/configure.ac
   gnunet-update/test/old/libfake/src/
   gnunet-update/test/old/libfake/src/Makefile.am
   gnunet-update/test/old/libfake/src/libfake.c
   gnunet-update/test/old/libfake/src/libfake.h
Log:
- external test library libfake

Added: gnunet-update/test/old/libfake/Makefile.am
===================================================================
--- gnunet-update/test/old/libfake/Makefile.am                          (rev 0)
+++ gnunet-update/test/old/libfake/Makefile.am  2012-01-18 12:54:32 UTC (rev 
19234)
@@ -0,0 +1,23 @@
+# This file is part of GNUnet.
+# (C) 2001--2011 Christian Grothoff (and other contributing authors)
+#
+# GNUnet is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; either version 2, or (at your
+# option) any later version.
+#
+# GNUnet is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNUnet; see the file COPYING.  If not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+#
+#
+# Process this file with automake to produce Makefile.in.
+#
+
+SUBDIRS = src
\ No newline at end of file

Added: gnunet-update/test/old/libfake/bootstrap
===================================================================
--- gnunet-update/test/old/libfake/bootstrap                            (rev 0)
+++ gnunet-update/test/old/libfake/bootstrap    2012-01-18 12:54:32 UTC (rev 
19234)
@@ -0,0 +1,2 @@
+#!/bin/sh
+autoreconf -if


Property changes on: gnunet-update/test/old/libfake/bootstrap
___________________________________________________________________
Added: svn:executable
   + *

Added: gnunet-update/test/old/libfake/configure.ac
===================================================================
--- gnunet-update/test/old/libfake/configure.ac                         (rev 0)
+++ gnunet-update/test/old/libfake/configure.ac 2012-01-18 12:54:32 UTC (rev 
19234)
@@ -0,0 +1,22 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.65])
+AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
+AM_INIT_AUTOMAKE([foreign -Wall -Werror])
+AC_CONFIG_SRCDIR([src/libfake.c])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_LIBTOOL
+
+# Checks for libraries.
+
+# Checks for header files.
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+AC_CONFIG_FILES([Makefile src/Makefile])
+AC_OUTPUT

Added: gnunet-update/test/old/libfake/src/Makefile.am
===================================================================
--- gnunet-update/test/old/libfake/src/Makefile.am                              
(rev 0)
+++ gnunet-update/test/old/libfake/src/Makefile.am      2012-01-18 12:54:32 UTC 
(rev 19234)
@@ -0,0 +1,28 @@
+# This file is part of GNUnet.
+# (C) 2001--2011 Christian Grothoff (and other contributing authors)
+#
+# GNUnet is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published
+# by the Free Software Foundation; either version 2, or (at your
+# option) any later version.
+#
+# GNUnet is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNUnet; see the file COPYING.  If not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+#
+#
+# Process this file with automake to produce Makefile.in.
+#
+
+lib_LTLIBRARIES = libfake.la
+
+include_HEADERS = libfake.h
+
+libfake_la_SOURCES = libfake.c
+libfake_la_LDFLAGS = -version-info 0:0:0
\ No newline at end of file

Added: gnunet-update/test/old/libfake/src/libfake.c
===================================================================
--- gnunet-update/test/old/libfake/src/libfake.c                                
(rev 0)
+++ gnunet-update/test/old/libfake/src/libfake.c        2012-01-18 12:54:32 UTC 
(rev 19234)
@@ -0,0 +1,33 @@
+/*
+     This file is part of GNUnet.
+     (C) 2012 Christian Grothoff (and other contributing authors)
+
+     GNUnet is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     GNUnet is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with GNUnet; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file test/old/libfake/src/libfake.c
+ * @brief A library to fake system libraries while testing
+ * @author Sree Harsha Totakura <address@hidden> 
+ */
+
+/**
+ * A function which should be used in one of the testing binaries
+ */
+int FAKE_function()
+{
+  return 0;
+}

Added: gnunet-update/test/old/libfake/src/libfake.h
===================================================================
--- gnunet-update/test/old/libfake/src/libfake.h                                
(rev 0)
+++ gnunet-update/test/old/libfake/src/libfake.h        2012-01-18 12:54:32 UTC 
(rev 19234)
@@ -0,0 +1,30 @@
+/*
+     This file is part of GNUnet.
+     (C) 2012 Christian Grothoff (and other contributing authors)
+
+     GNUnet is free software; you can redistribute it and/or modify
+     it under the terms of the GNU General Public License as published
+     by the Free Software Foundation; either version 3, or (at your
+     option) any later version.
+
+     GNUnet is distributed in the hope that it will be useful, but
+     WITHOUT ANY WARRANTY; without even the implied warranty of
+     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+     General Public License for more details.
+
+     You should have received a copy of the GNU General Public License
+     along with GNUnet; see the file COPYING.  If not, write to the
+     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+     Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file test/old/libfake/src/fake.h
+ * @brief A library to fake system libraries while testing
+ * @author Sree Harsha Totakura <address@hidden> 
+ */
+
+/**
+ * A function which should be used in one of the testing binaries
+ */
+int FAKE_function();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]