summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-10-07 15:59:37 -0700
committerPixel <pixel@nobis-crew.org>2011-10-07 15:59:37 -0700
commit50c6ae8c0461f12bc42d2d8a0344efd7dc186f2c (patch)
tree3451ebef90031a076a931663da223e727ebc50ba /tests
parent1d9def9edae0011eeee8f83dc32fb3797ca2f46b (diff)
Adding 'Sanity' test software, simplified Makefile, and turned 64 bits file offsets.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Sanity.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test-Sanity.cc b/tests/test-Sanity.cc
new file mode 100644
index 0000000..1495f76
--- /dev/null
+++ b/tests/test-Sanity.cc
@@ -0,0 +1,14 @@
+#include <Main.h>
+
+BALAU_STARTUP;
+
+using namespace Balau;
+
+int Application::startup() throw (Balau::GeneralException) {
+ Printer::log(M_STATUS, "Test::Sanity running.");
+
+ Assert(sizeof(off_t) == 8);
+
+ Printer::log(M_STATUS, "Test::Sanity passed.");
+ return 0;
+}