From caebb77b4ef25d342ffdaf269b816264c9e39b68 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 13 May 2017 13:32:00 +0100 Subject: Fix dumb typo in preprocessor test --- gentoobrowse-api/unittests/testMaintenance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoobrowse-api/unittests/testMaintenance.cpp b/gentoobrowse-api/unittests/testMaintenance.cpp index 2aa9ff8..1e3ae8e 100644 --- a/gentoobrowse-api/unittests/testMaintenance.cpp +++ b/gentoobrowse-api/unittests/testMaintenance.cpp @@ -299,7 +299,7 @@ BOOST_AUTO_TEST_CASE( testRefreshGitRepository ) SQL_REQUIRE_EQUAL("SELECT COUNT(*) FROM gentoobrowse.changelog WHERE commitid = 'ca4dc75c068fcffad6ff46678dfff3fcbdf8f1d2'", int64_t, 1); SQL_REQUIRE_EQUAL("SELECT COUNT(*) FROM gentoobrowse.changelog WHERE commitid = '8292397bf6a8c91215b03a558e8bc843aff25b64'", int64_t, 0); SQL_REQUIRE_EQUAL("SELECT ARRAY_LENGTH(files, 1) FROM gentoobrowse.changelog WHERE commitid = 'ca4dc75c068fcffad6ff46678dfff3fcbdf8f1d2'", int64_t, 5); -#if DUMBDB +#if DUMPDB db->execute("COPY gentoobrowse.changelog TO '/tmp/changelog.tsv'"); #endif } -- cgit v1.2.3