aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-02-06 14:50:33 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-02-06 15:34:32 +0100
commit892ebf35f1d4600823e7db55fc6df67599b2f753 (patch)
tree28afb90b292057f563c0a6938d758618ef4ce348 /tests
parent05cd7296ba9a27d2eb4a9d1ecea8230ecb75a35e (diff)
downloadlibssh-892ebf35f1d4600823e7db55fc6df67599b2f753.tar.gz
libssh-892ebf35f1d4600823e7db55fc6df67599b2f753.tar.xz
libssh-892ebf35f1d4600823e7db55fc6df67599b2f753.zip
torture: Added GPL header.
Diffstat (limited to 'tests')
-rw-r--r--tests/torture.c26
-rw-r--r--tests/torture.h24
2 files changed, 49 insertions, 1 deletions
diff --git a/tests/torture.c b/tests/torture.c
index c2b173f7..a78e8eec 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -1,6 +1,30 @@
-#include "torture.h"
+/*
+ * torture.c - torture library for testing libssh
+ *
+ * This file is part of the SSH Library
+ *
+ * Copyright (c) 2008-2009 by Andreas Schneider <mail@cynapses.org>
+ *
+ * The SSH Library is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at your
+ * option) any later version.
+ *
+ * The SSH Library 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 Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with the SSH Library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ */
#include <stdio.h>
+#include <stdlib.h>
+
+#include "torture.h"
static int verbosity = 0;
diff --git a/tests/torture.h b/tests/torture.h
index cc63ad8d..99b34257 100644
--- a/tests/torture.h
+++ b/tests/torture.h
@@ -1,3 +1,26 @@
+/*
+ * torture.c - torture library for testing libssh
+ *
+ * This file is part of the SSH Library
+ *
+ * Copyright (c) 2008-2009 by Andreas Schneider <mail@cynapses.org>
+ *
+ * The SSH Library is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or (at your
+ * option) any later version.
+ *
+ * The SSH Library 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 Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with the SSH Library; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA 02111-1307, USA.
+ */
+
#ifndef _TORTURE_H
#define _TORTURE_H
@@ -13,6 +36,7 @@
#include <google/cmockery.h>
#include "libssh/priv.h"
+#include "libssh/sftp.h"
/* Used by main to communicate with parse_opt. */
struct argument_s {