ceremonyclient/pebble/tool/testdata/db_get_set
Cassandra Heart 2e2a1e4789
v1.2.0 (#31)
2024-01-03 01:31:42 -06:00

59 lines
710 B
Plaintext

db check ../testdata/db-stage-4
----
checked 6 points and 0 tombstone
db get
../testdata/db-stage-4
----
accepts 2 arg(s), received 1
db get
../testdata/db-stage-4
key1
----
pebble: not found
db set
../testdata/db-stage-4
key1
value1
----
db get
../testdata/db-stage-4
key1
----
[76616c756531]
db check ../testdata/db-stage-4
----
checked 7 points and 0 tombstone
# 0x6b657941 = "key1", so this test case verifies that
# hex decoding works too.
db get
../testdata/db-stage-4
hex:6b657931
----
[76616c756531]
db set
../testdata/db-stage-4
hex:6b657931
hex:1b1b1b
----
db get
../testdata/db-stage-4
hex:6b657931
----
[1b1b1b]
db get
../testdata/db-stage-4
hex:6b657931
--value=quoted
----
\x1b\x1b\x1b