summaryrefslogtreecommitdiff
path: root/gl/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 20:02:41 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-25 20:05:54 +0100
commitfad26f7329b80b9c38bf782353f137246dd8fd07 (patch)
tree7e7fb90e4e3cd06a09027b687c7ce59e48f3069f /gl/tests
parent59fa9ceeea8d3694c03a533b306d846b7eb5b7c3 (diff)
downloadgnutls-fad26f7329b80b9c38bf782353f137246dd8fd07.tar.gz
Added timer_time.
Diffstat (limited to 'gl/tests')
-rw-r--r--gl/tests/glthread/lock.c3
-rw-r--r--gl/tests/glthread/lock.h3
-rw-r--r--gl/tests/glthread/threadlib.c3
-rw-r--r--gl/tests/malloca.c3
-rw-r--r--gl/tests/malloca.h3
-rw-r--r--gl/tests/pathmax.h3
-rw-r--r--gl/tests/pipe.c3
-rw-r--r--gl/tests/sys_ioctl.in.h3
-rw-r--r--gl/tests/test-base64.c4
-rw-r--r--gl/tests/test-fgetc.c3
-rw-r--r--gl/tests/test-fputc.c3
-rw-r--r--gl/tests/test-fread.c3
-rw-r--r--gl/tests/test-fwrite.c3
-rw-r--r--gl/tests/test-getdelim.c3
-rw-r--r--gl/tests/test-getline.c3
-rw-r--r--gl/tests/test-perror.c3
-rw-r--r--gl/tests/test-perror2.c3
-rw-r--r--gl/tests/test-pipe.c3
-rw-r--r--gl/tests/test-strerror.c3
-rw-r--r--gl/tests/test-strerror_r.c3
-rw-r--r--gl/tests/test-strverscmp.c3
21 files changed, 22 insertions, 42 deletions
diff --git a/gl/tests/glthread/lock.c b/gl/tests/glthread/lock.c
index 3ab4fad577..9a391ea6c9 100644
--- a/gl/tests/glthread/lock.c
+++ b/gl/tests/glthread/lock.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Bruno Haible <bruno@clisp.org>, 2005.
Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-solaris.h,
diff --git a/gl/tests/glthread/lock.h b/gl/tests/glthread/lock.h
index 02377cdeec..6782d498f1 100644
--- a/gl/tests/glthread/lock.h
+++ b/gl/tests/glthread/lock.h
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Bruno Haible <bruno@clisp.org>, 2005.
Based on GCC's gthr-posix.h, gthr-posix95.h, gthr-solaris.h,
diff --git a/gl/tests/glthread/threadlib.c b/gl/tests/glthread/threadlib.c
index 30d6d51f01..946268e911 100644
--- a/gl/tests/glthread/threadlib.c
+++ b/gl/tests/glthread/threadlib.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Bruno Haible <bruno@clisp.org>, 2005. */
diff --git a/gl/tests/malloca.c b/gl/tests/malloca.c
index 009ca0ce2b..1f7533a7d3 100644
--- a/gl/tests/malloca.c
+++ b/gl/tests/malloca.c
@@ -13,8 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#define _GL_USE_STDLIB_ALLOC 1
#include <config.h>
diff --git a/gl/tests/malloca.h b/gl/tests/malloca.h
index 725cc2261b..0cedf5f633 100644
--- a/gl/tests/malloca.h
+++ b/gl/tests/malloca.h
@@ -13,8 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#ifndef _MALLOCA_H
#define _MALLOCA_H
diff --git a/gl/tests/pathmax.h b/gl/tests/pathmax.h
index 0fd9296ad5..03db7cb519 100644
--- a/gl/tests/pathmax.h
+++ b/gl/tests/pathmax.h
@@ -13,8 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#ifndef _PATHMAX_H
# define _PATHMAX_H
diff --git a/gl/tests/pipe.c b/gl/tests/pipe.c
index e7e4253020..6fcf1f2cc9 100644
--- a/gl/tests/pipe.c
+++ b/gl/tests/pipe.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/sys_ioctl.in.h b/gl/tests/sys_ioctl.in.h
index f213411e46..ab04d558ed 100644
--- a/gl/tests/sys_ioctl.in.h
+++ b/gl/tests/sys_ioctl.in.h
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#ifndef _@GUARD_PREFIX@_SYS_IOCTL_H
diff --git a/gl/tests/test-base64.c b/gl/tests/test-base64.c
index a71ffbae1d..9a533c521a 100644
--- a/gl/tests/test-base64.c
+++ b/gl/tests/test-base64.c
@@ -153,7 +153,7 @@ main (void)
{
struct base64_decode_context ctx;
- const char *newlineb64 = "YWJjZG\nVmZ2hp\r\n\tamtsbW5vcA==";
+ const char *newlineb64 = "YWJjZG\nVmZ2hp\namtsbW5vcA==";
base64_decode_ctx_init (&ctx);
@@ -168,7 +168,7 @@ main (void)
struct base64_decode_context ctx;
base64_decode_ctx_init (&ctx);
- ok = base64_decode_alloc_ctx (&ctx, "YW\n JjZGVmZ2hp", 14, &p, &len);
+ ok = base64_decode_alloc_ctx (&ctx, "YW\nJjZGVmZ2hp", 13, &p, &len);
ASSERT (ok);
ASSERT (len == 9);
ASSERT (memcmp (p, "abcdefghi", len) == 0);
diff --git a/gl/tests/test-fgetc.c b/gl/tests/test-fgetc.c
index 669a71ee2b..f7ebbc6ad5 100644
--- a/gl/tests/test-fgetc.c
+++ b/gl/tests/test-fgetc.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-fputc.c b/gl/tests/test-fputc.c
index 924c2225f2..fd92ae8abc 100644
--- a/gl/tests/test-fputc.c
+++ b/gl/tests/test-fputc.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-fread.c b/gl/tests/test-fread.c
index fd2ac8342d..792299bc13 100644
--- a/gl/tests/test-fread.c
+++ b/gl/tests/test-fread.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-fwrite.c b/gl/tests/test-fwrite.c
index d69f463e16..1f3a66d1e6 100644
--- a/gl/tests/test-fwrite.c
+++ b/gl/tests/test-fwrite.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-getdelim.c b/gl/tests/test-getdelim.c
index 08c619797b..daea64650c 100644
--- a/gl/tests/test-getdelim.c
+++ b/gl/tests/test-getdelim.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Eric Blake <ebb9@byu.net>, 2007. */
diff --git a/gl/tests/test-getline.c b/gl/tests/test-getline.c
index d8bb8a3007..ede1b854b1 100644
--- a/gl/tests/test-getline.c
+++ b/gl/tests/test-getline.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Eric Blake <ebb9@byu.net>, 2007. */
diff --git a/gl/tests/test-perror.c b/gl/tests/test-perror.c
index dbbeb33c2f..31e1af708d 100644
--- a/gl/tests/test-perror.c
+++ b/gl/tests/test-perror.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-perror2.c b/gl/tests/test-perror2.c
index 446bce9cd0..eae077c63b 100644
--- a/gl/tests/test-perror2.c
+++ b/gl/tests/test-perror2.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-pipe.c b/gl/tests/test-pipe.c
index ebee8052d8..7ffeb6211c 100644
--- a/gl/tests/test-pipe.c
+++ b/gl/tests/test-pipe.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-strerror.c b/gl/tests/test-strerror.c
index 14673f2083..33dd901c7c 100644
--- a/gl/tests/test-strerror.c
+++ b/gl/tests/test-strerror.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Eric Blake <ebb9@byu.net>, 2007. */
diff --git a/gl/tests/test-strerror_r.c b/gl/tests/test-strerror_r.c
index 0539de2072..e164f0a51d 100644
--- a/gl/tests/test-strerror_r.c
+++ b/gl/tests/test-strerror_r.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
diff --git a/gl/tests/test-strverscmp.c b/gl/tests/test-strverscmp.c
index d58cec2358..adf9bbfe2a 100644
--- a/gl/tests/test-strverscmp.c
+++ b/gl/tests/test-strverscmp.c
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Eric Blake <ebb9@byu.net>, 2008. */