ceremonyclient/pebble/tool/testdata/db_check

45 lines
903 B
Plaintext
Raw Permalink Normal View History

2024-01-03 07:31:42 +00:00
db check
----
accepts 1 arg(s), received 0
db check
non-existent
----
error opening database at "non-existent": pebble: database "non-existent" does not exist
db check
./testdata/corrupt-options-db
----
error loading options: invalid key=value syntax: "blargle"
Custom message in case of corruption error.
db check
../testdata/db-stage-4
----
checked 6 points and 0 tombstone
db check
../testdata/db-stage-4
--comparer=foo
----
unknown comparer "foo"
db check
../testdata/db-stage-4
--comparer=test-comparer
----
pebble: manifest file "MANIFEST-000006" for DB "db-stage-4": comparer name from file "leveldb.BytewiseComparator" != comparer name from Options "test-comparer"
db check
../testdata/db-stage-4
--merger=foo
----
unknown merger "foo"
db check
../testdata/db-stage-4
--merger=test-merger
----
pebble: merger name from file "pebble.concatenate" != merger name from options "test-merger"