From 46fd72d12ac587e46bbfdd653673d3b2ae8d433b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 3 Apr 2017 17:48:56 +0300 Subject: Rename brep-load.conf to loadtab, make use of butl::tab_parser --- tests/load/buildfile | 2 +- tests/load/driver.cxx | 2 +- tests/load/loadtab | 4 ++++ tests/load/r.conf | 4 ---- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 tests/load/loadtab delete mode 100644 tests/load/r.conf (limited to 'tests') diff --git a/tests/load/buildfile b/tests/load/buildfile index a4b0ffb..2088ee1 100644 --- a/tests/load/buildfile +++ b/tests/load/buildfile @@ -18,4 +18,4 @@ exe{driver}: test = false # precondition: PostgreSQL server running port 8432 with brep schema created. # test: -# ./driver ../../load/brep-load --db-host localhost --db-port 8432 ./r.conf +# ./driver ../../load/brep-load --db-host localhost --db-port 8432 ./loadtab diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index 396d89f..a0ab10f 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -52,7 +52,7 @@ main (int argc, char* argv[]) auto print_usage = [argv]() { cerr << "usage: " << argv[0] - << " [loader_options] " << endl; + << " [loader_options] " << endl; }; if (argc < 3) diff --git a/tests/load/loadtab b/tests/load/loadtab new file mode 100644 index 0000000..fe06984 --- /dev/null +++ b/tests/load/loadtab @@ -0,0 +1,4 @@ +http://dev.cppget.org/1/stable stable cache:1/stable +http://dev.cppget.org/1/math math cache:1/math +http://dev.cppget.org/1/signed signed cache:pkg/1/dev.cppget.org/signed fingerprint:AC:9B:64:F3:DA:82:E3:0C:86:25:A5:0A:56:A9:64:31:A5:61:AD:ED:B8:AF:91:0D:3C:88:E4:43:19:30:CF:82 +http://dev.cppget.org/1/unsigned unsigned cache:pkg/1/dev.cppget.org/unsigned fingerprint: diff --git a/tests/load/r.conf b/tests/load/r.conf deleted file mode 100644 index fe06984..0000000 --- a/tests/load/r.conf +++ /dev/null @@ -1,4 +0,0 @@ -http://dev.cppget.org/1/stable stable cache:1/stable -http://dev.cppget.org/1/math math cache:1/math -http://dev.cppget.org/1/signed signed cache:pkg/1/dev.cppget.org/signed fingerprint:AC:9B:64:F3:DA:82:E3:0C:86:25:A5:0A:56:A9:64:31:A5:61:AD:ED:B8:AF:91:0D:3C:88:E4:43:19:30:CF:82 -http://dev.cppget.org/1/unsigned unsigned cache:pkg/1/dev.cppget.org/unsigned fingerprint: -- cgit v1.1