diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-05-26 00:55:20 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-05-26 00:55:20 +0100 |
commit | 6b99e0786e33b6b8944b29d8212af882d1cdea92 (patch) | |
tree | 6caa95dcac0b99b91949a95060cbc5056881ae1b | |
parent | Phony current.sql is in bin (diff) | |
download | gentoobrowse-api-6b99e0786e33b6b8944b29d8212af882d1cdea92.tar.bz2 gentoobrowse-api-6b99e0786e33b6b8944b29d8212af882d1cdea92.tar.xz gentoobrowse-api-6b99e0786e33b6b8944b29d8212af882d1cdea92.zip |
Dump a copy of files too
-rw-r--r-- | gentoobrowse-api/unittests/testMaintenance.cpp | 1 |
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'"); |