summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-16 00:58:08 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-16 00:58:08 +0100
commit8beecd42f2789635891121be8e185e9acef0bcb5 (patch)
treec77a01d995a3538aa5f089db29e472e9c011155b
parentbadfac44128d64b9e1ba80603ac3835ef50f01f9 (diff)
downloadsamba-8beecd42f2789635891121be8e185e9acef0bcb5.tar.gz
samba-8beecd42f2789635891121be8e185e9acef0bcb5.tar.bz2
samba-8beecd42f2789635891121be8e185e9acef0bcb5.zip
Move torture directory to top-level.
-rw-r--r--lib/torture/torture.c4
-rw-r--r--lib/torture/torture.h2
-rw-r--r--source3/samba4.mk2
-rw-r--r--source4/Makefile4
-rw-r--r--source4/configure.ac2
-rw-r--r--source4/main.mk2
-rw-r--r--source4/torture/rpc/ntsvcs.c2
-rw-r--r--source4/torture/rpc/rpc.h3
-rw-r--r--source4/torture/smbtorture.h2
-rw-r--r--source4/torture/util.h2
10 files changed, 11 insertions, 14 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c
index e465529f6b..6b2a5b1061 100644
--- a/lib/torture/torture.c
+++ b/lib/torture/torture.c
@@ -2,7 +2,7 @@
Unix SMB/CIFS implementation.
SMB torture UI functions
- Copyright (C) Jelmer Vernooij 2006
+ Copyright (C) Jelmer Vernooij 2006-2008
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
*/
#include "includes.h"
-#include "torture/torture.h"
+#include "../torture/torture.h"
#include "../lib/util/dlinklist.h"
#include "param/param.h"
#include "system/filesys.h"
diff --git a/lib/torture/torture.h b/lib/torture/torture.h
index f06ffe012b..f16d2707bb 100644
--- a/lib/torture/torture.h
+++ b/lib/torture/torture.h
@@ -105,8 +105,6 @@ struct torture_results
bool quiet;
bool returncode;
-
-
};
/*
diff --git a/source3/samba4.mk b/source3/samba4.mk
index 1743431aa4..032a3d9c35 100644
--- a/source3/samba4.mk
+++ b/source3/samba4.mk
@@ -88,7 +88,7 @@ libutilsrcdir := $(samba4srcdir)/../lib/util
libtdrsrcdir := $(samba4srcdir)/lib/tdr
libdbwrapsrcdir := $(samba4srcdir)/lib/dbwrap
libcryptosrcdir := $(samba4srcdir)/../lib/crypto
-libtorturesrcdir := $(samba4srcdir)/lib/torture
+libtorturesrcdir := ../lib/torture
libcompressionsrcdir := $(samba4srcdir)/../lib/compression
libgencachesrcdir := $(samba4srcdir)/lib
paramsrcdir := $(samba4srcdir)/param
diff --git a/source4/Makefile b/source4/Makefile
index be41d02a38..38eb0706c9 100644
--- a/source4/Makefile
+++ b/source4/Makefile
@@ -11,7 +11,7 @@ include mkconfig.mk
pidldir := $(srcdir)/../pidl
basedir = $(prefix)
-torturedir = $(libdir)/torture
+torturedir = ../lib/torture
swatdir = $(datadir)/swat
setupdir = $(datadir)/setup
ncalrpcdir = $(localstatedir)/ncalrpc
@@ -78,7 +78,7 @@ libutilsrcdir := ../lib/util
libtdrsrcdir := lib/tdr
libdbwrapsrcdir := lib/dbwrap
libcryptosrcdir := ../lib/crypto
-libtorturesrcdir := lib/torture
+libtorturesrcdir := ../lib/torture
smb_serversrcdir := smb_server
libcompressionsrcdir := ../lib/compression
libgencachesrcdir := lib
diff --git a/source4/configure.ac b/source4/configure.ac
index cf85b13225..a90ac9e668 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -37,7 +37,7 @@ AC_CONFIG_FILES(lib/registry/registry.pc)
AC_CONFIG_FILES(lib/events/events.pc)
AC_CONFIG_FILES(librpc/dcerpc.pc)
AC_CONFIG_FILES(../librpc/ndr.pc)
-AC_CONFIG_FILES(lib/torture/torture.pc)
+AC_CONFIG_FILES(../lib/torture/torture.pc)
AC_CONFIG_FILES(auth/gensec/gensec.pc)
AC_CONFIG_FILES(param/samba-hostconfig.pc)
AC_CONFIG_FILES(librpc/dcerpc_samr.pc)
diff --git a/source4/main.mk b/source4/main.mk
index 278c38454d..0a72487f8a 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -23,7 +23,7 @@ mkinclude ../lib/util/config.mk
mkinclude lib/tdr/config.mk
mkinclude lib/dbwrap/config.mk
mkinclude ../lib/crypto/config.mk
-mkinclude lib/torture/config.mk
+mkinclude ../lib/torture/config.mk
mkinclude lib/basic.mk
mkinclude lib/com/config.mk
# WMI fails at the moment
diff --git a/source4/torture/rpc/ntsvcs.c b/source4/torture/rpc/ntsvcs.c
index 10c1ce21f3..3db79ac8bf 100644
--- a/source4/torture/rpc/ntsvcs.c
+++ b/source4/torture/rpc/ntsvcs.c
@@ -20,7 +20,7 @@
*/
#include "includes.h"
-#include "torture/torture.h"
+#include "lib/torture/torture.h"
#include "torture/rpc/rpc.h"
#include "librpc/gen_ndr/ndr_ntsvcs_c.h"
#include "torture/util.h"
diff --git a/source4/torture/rpc/rpc.h b/source4/torture/rpc/rpc.h
index 29b1ebee54..9fd64f18b5 100644
--- a/source4/torture/rpc/rpc.h
+++ b/source4/torture/rpc/rpc.h
@@ -21,14 +21,13 @@
#ifndef __TORTURE_RPC_H__
#define __TORTURE_RPC_H__
-#include "torture/torture.h"
+#include "lib/torture/torture.h"
#include "auth/credentials/credentials.h"
#include "torture/rpc/drsuapi.h"
#include "libnet/libnet_join.h"
#include "librpc/rpc/dcerpc.h"
#include "libcli/raw/libcliraw.h"
#include "torture/rpc/proto.h"
-#include "torture/torture.h"
struct torture_rpc_tcase {
struct torture_tcase tcase;
diff --git a/source4/torture/smbtorture.h b/source4/torture/smbtorture.h
index 3b5a573d83..28e82f3abd 100644
--- a/source4/torture/smbtorture.h
+++ b/source4/torture/smbtorture.h
@@ -21,7 +21,7 @@
#ifndef __SMBTORTURE_H__
#define __SMBTORTURE_H__
-#include "torture/torture.h"
+#include "lib/torture/torture.h"
struct smbcli_state;
diff --git a/source4/torture/util.h b/source4/torture/util.h
index f36d54233d..3609cca7d9 100644
--- a/source4/torture/util.h
+++ b/source4/torture/util.h
@@ -20,7 +20,7 @@
#ifndef _TORTURE_UTIL_H_
#define _TORTURE_UTIL_H_
-#include "torture/torture.h"
+#include "lib/torture/torture.h"
struct smbcli_state;
struct smbcli_tree;