diff --git a/INSTALL.txt b/INSTALL.txt index 3bb5e71954876c6aa1d1ef64bf779b29dfdf735d..c61236d7c5ba5d2fd977217bbbc5608243ab2784 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -72,6 +72,18 @@ need to be in your PATH if you want to run the TSK commands without specifying '/usr/local/bin' everytime. +If you get an error like: + + libtool: Version mismatch error. This is libtool 2.2.10, but the + libtool: definition of this LT_INIT comes from libtool 2.2.4. + libtool: You should recreate aclocal.m4 with macros from libtool 2.2.10 + libtool: and run autoconf again. + +Run: + ./bootstrap +and then go back to running configure and make. + + CONFIGURE OPTIONS ----------------------------------------------------------------------------- There are some arguments to 'configure' that you can supply to @@ -92,6 +104,10 @@ if it is installed. the libewf installation (the directory should have 'lib' and 'include' directories in it). +----------------------------------------------------------------------------- + +If you are compiling + ----------------------------------------------------------------------------- Brian Carrier carrier <at> sleuthkit <dot> org diff --git a/unit_tests/base/.deps/errors_test.Po b/unit_tests/base/.deps/errors_test.Po deleted file mode 100644 index 9ce06a81ea45b2883a6faf07a0d2136bb2a4e647..0000000000000000000000000000000000000000 --- a/unit_tests/base/.deps/errors_test.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/unit_tests/base/.deps/test_base.Po b/unit_tests/base/.deps/test_base.Po deleted file mode 100644 index 9ce06a81ea45b2883a6faf07a0d2136bb2a4e647..0000000000000000000000000000000000000000 --- a/unit_tests/base/.deps/test_base.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/unit_tests/base/Makefile.am b/unit_tests/base/Makefile.am index c82dd88f2c531766f4ee9d475765a109a96201e4..8155276519fe72cb5916b325f3c4ed1f7b4e315f 100644 --- a/unit_tests/base/Makefile.am +++ b/unit_tests/base/Makefile.am @@ -3,7 +3,7 @@ LDADD = ../../tsk3/libtsk3.la $(CPPUNIT_LIBS) LDFLAGS = -static noinst_PROGRAMS = test_base -test_base_SOURCES= test_base.cpp errors_test.cpp +test_base_SOURCES= test_base.cpp errors_test.cpp errors_test.h indent: indent *.cpp *.h diff --git a/unit_tests/base/errors_test.h b/unit_tests/base/errors_test.h new file mode 100644 index 0000000000000000000000000000000000000000..e7dfbc4cf6b145bf2bac46cedba3268aba1c3122 --- /dev/null +++ b/unit_tests/base/errors_test.h @@ -0,0 +1,36 @@ +/* + * errors_test.h + * + * Created on: Oct 22, 2010 + * Author: benson + */ + +#ifndef ERRORS_TEST_H_ +#define ERRORS_TEST_H_ + +#include <cppunit/extensions/HelperMacros.h> + +class ErrorsTest : public CppUnit::TestFixture +{ + CPPUNIT_TEST_SUITE( ErrorsTest ); + CPPUNIT_TEST(testInitialState); + CPPUNIT_TEST(testLengthChecks); +#ifdef HAVE_PTHREAD + CPPUNIT_TEST(testMultithreaded); +#endif + CPPUNIT_TEST_SUITE_END(); + +public: + void setUp(); + void tearDown(); + + void testConstructor(); + void testInitialState(); + void testLengthChecks(); +#ifdef HAVE_PTHREAD + void testMultithreaded(); +#endif +}; + + +#endif /* ERRORS_TEST_H_ */