featurebase/test
Lory Cloutier f627199acb FB-1766: cleaning up the CmdIO objects passing alternate stdin/
stdout/stderr around

A lot of functions in the cmd and ctl packages were passing these
around and barely using them. Replaced them with a logger for most
functions. Some functions get an io.Writer instead so that their
tests can find the output they're looking for.

More cleanup on fb-1766: reworked the tests that were using io.Pipe
or os.Pipe to check their results so they now use a bytes.Buffer.

Unexported some variables that didn't need to be exported.
Fixed NewConfigCommand to use the provided stderr, not os.Stderr.
Added tests for rbf_dump, rbf_page, and keygen, since those weren't
being tested at all.

Added chksum_test, final cleanup.
2022-11-29 12:49:36 -06:00
..
cluster.go enable staticcheck in ci; remove dead code (#2281) 2022-11-07 13:45:19 -06:00
disco.go refactor testing to share clusters more often 2022-09-02 11:40:37 -05:00
field.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
glue.go drop excessively verbose messages used while debugging something long ago 2022-09-23 16:56:27 -05:00
handler.go add copyright notice back in 2021-12-10 11:01:04 -06:00
holder.go fb-1729 Enriched Table Metadata (#2255) 2022-10-26 11:23:40 -05:00
index.go fb-1729 Enriched Table Metadata (#2255) 2022-10-26 11:23:40 -05:00
main_test.go use testhook test cleanup 2022-09-26 12:33:43 -05:00
pilosa.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
pilosa_test.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
transaction.go Add DAX - full list of squashed commits below 2022-11-16 11:19:40 -06:00