summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-05-26 00:55:20 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-05-26 00:55:20 +0100
commitf0c6b64d0283fc3dc6dfc74de31dee8fd48f6afe (patch)
tree6caa95dcac0b99b91949a95060cbc5056881ae1b
parentPhony current.sql is in bin (diff)
downloadgentoobrowse-api-f0c6b64d0283fc3dc6dfc74de31dee8fd48f6afe.tar.bz2
gentoobrowse-api-f0c6b64d0283fc3dc6dfc74de31dee8fd48f6afe.tar.xz
gentoobrowse-api-f0c6b64d0283fc3dc6dfc74de31dee8fd48f6afe.zip
Dump a copy of files too
-rw-r--r--gentoobrowse-api/unittests/testMaintenance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gentoobrowse-api/unittests/testMaintenance.cpp b/gentoobrowse-api/unittests/testMaintenance.cpp
index 8be95a1..be045a5 100644
--- a/gentoobrowse-api/unittests/testMaintenance.cpp
+++ b/gentoobrowse-api/unittests/testMaintenance.cpp
@@ -81,6 +81,7 @@ BOOST_AUTO_TEST_CASE( refreshPackageTree )
doRefreshPackageTree(sd, db, "4156eb45cf3b0ce1d7125b84efd8688c2d6e831d", "gentoo",
m, 2084, 5, 1, 482, 981, 3626, 4593, 501, 393, 238, 50, 1573, 2008, 1543);
+ db->execute("COPY gentoobrowse.files TO '/tmp/files1.tsv'");
db->execute("COPY gentoobrowse.categories TO '/tmp/categories1.tsv'");
db->execute("COPY gentoobrowse.packages TO '/tmp/packages1.tsv'");
db->execute("COPY gentoobrowse.ebuilds TO '/tmp/ebuilds1.tsv'");