aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {