From 4f90c6d35a66ead60af037e2d3c085c654c86300 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 30 Jan 2013 13:12:53 +0100 Subject: [PATCH] added test case for dfdb startup --- UnitTests/Makefile.unittests | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/UnitTests/Makefile.unittests b/UnitTests/Makefile.unittests index ba601b35de..60ff208f79 100755 --- a/UnitTests/Makefile.unittests +++ b/UnitTests/Makefile.unittests @@ -35,7 +35,8 @@ unittests-brief: \ unittests-ssl-server \ unittests-shell-client \ unittests-arangob \ - unittests-import + unittests-import \ + unittests-dfdb unittests-verbose: @echo "################################################################################" @@ -431,6 +432,23 @@ unittests-import: @rm -rf "$(VOCDIR)" @echo + +################################################################################ +### @brief DATAFILE DEBUGGER TESTS +### +### this test just checks whether the dfdb starts. +### we will send an EOT signal to the dfdb process to stop it right away. +################################################################################ + +.PHONY: unittests-dfdb + +unittests-dfdb: + @mkdir -p "$(VOCDIR)" + @test -d "$(VOCDIR)" + + echo -e "\x04" | ($(VALGRIND) @builddir@/bin/arango-dfdb --database "$(VOCDIR)" || test "x$(FORCE)" == "x1") + + ################################################################################ ### @brief BITARRAY INDEXES TESTS ################################################################################