Revision 43010a929f8123b6b554870abff1720186a3e929 authored by Siying Dong on 04 April 2017, 23:23:00 UTC, committed by Facebook Github Bot on 04 April 2017, 23:24:26 UTC
fbshipit-source-id: 43b4529
1 parent a30b75c
rocksdb_dump_test.sh
TESTDIR=`mktemp -d /tmp/rocksdb-dump-test.XXXXX`
DUMPFILE="tools/sample-dump.dmp"
# Verify that the sample dump file is undumpable and then redumpable.
./rocksdb_undump --dump_location=$DUMPFILE --db_path=$TESTDIR/db
./rocksdb_dump --anonymous --db_path=$TESTDIR/db --dump_location=$TESTDIR/dump
cmp $DUMPFILE $TESTDIR/dump
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...