Commit Graph

63 Commits

Author SHA1 Message Date
Joe Thornber
4779fb9b80 [various] Improve documentation
Output file must be preallocated.
2016-07-11 14:53:03 +01:00
Joe Thornber
4ee6df3a70 [cucumber tests] update thin_delta help output 2015-06-22 11:58:18 +01:00
Joe Thornber
6ab0833b2e cache_check: add --clear-needs-check 2015-06-09 14:01:22 +01:00
Joe Thornber
e4296c5393 [cache_dump feature] switch to using the new /cache dump|restore/ pattern 2014-09-01 15:26:42 +01:00
Joe Thornber
99d851cd29 [cache features] add a test for dump/restore cycle being a noop 2014-09-01 14:57:10 +01:00
Joe Thornber
562661c63e [era features] Added tests to check that dump/restore is a noop 2014-09-01 14:45:52 +01:00
Joe Thornber
5a6b92312e [features] check that quiet mode really outputs nothing.
Previously it was checking the output contained a null string within it.
2014-08-28 14:00:08 +01:00
Joe Thornber
6f8b7e2914 [all] Build a single executable 2014-08-27 14:01:31 +01:00
Joe Thornber
828f654800 [*_restore] Add progress bar to cache_restore and era_restore.
A lot of refactoring common code between the restore tools.
2014-08-26 13:05:21 +01:00
Joe Thornber
e3d459a148 [era_restore] add some cucumber tests 2014-08-21 11:27:52 +01:00
Joe Thornber
d00aef9219 [thini_restore] add a quiet option to turn off the progress monitor 2014-08-05 12:10:34 +01:00
Joe Thornber
fbce4d96f4 [cache_metadata_size] tweak an error message 2014-07-21 11:58:48 +01:00
Joe Thornber
c8f408ac3c [thin_delta] Update the usage 2014-06-17 15:00:38 +01:00
Joe Thornber
e851b35954 [thin_delta] read in the snaps and dev 2014-06-09 13:26:55 +01:00
Joe Thornber
b03fa373a1 [thin_delta] Print usage on unrecognised switch 2014-06-09 10:51:10 +01:00
Joe Thornber
83f2cce597 [thin_delta] -h/--help 2014-06-09 10:48:29 +01:00
Joe Thornber
87fa6dc079 [thin_delta] --version/-V 2014-06-09 10:37:46 +01:00
Joe Thornber
c3249ff757 [thin_check] --clear-needs-check-flag 2014-03-27 12:00:17 +00:00
Joe Thornber
5fe5d213b7 Merge branch 'master' of github.com:jthornber/thin-provisioning-tools into era
Conflicts:
	Makefile.in
2014-01-31 22:35:04 +00:00
Joe Thornber
cbbdfc37da [cache] cache_metadata_size 2014-01-15 15:52:05 +00:00
Joe Thornber
bfb540cc5b [era] era_superblock_t and era_check 2014-01-09 22:40:34 +00:00
Joe Thornber
2db5e0265d [cache_check features] rename a step 2014-01-08 20:39:46 +00:00
Joe Thornber
31ce9a03fa cache_restore --omit-clean-shutdown 2013-10-29 12:46:23 +00:00
Joe Thornber
f8633da296 [cache_restore] --debug-override-metadata-version
A flag that deliberately causes the wrong metadata version to be
written.  Useful for testing the kernel module.
2013-10-15 10:24:12 +01:00
Joe Thornber
a31da1eb71 [features] remove an old @announce 2013-10-11 13:33:19 +01:00
Joe Thornber
3a0e07e921 [cache_check.feature] version nr wasn't being checked properly 2013-10-11 11:03:26 +01:00
Joe Thornber
505cf95109 [cache_check] --super-block-only, --skip-mappings, --skip-hints 2013-10-08 11:34:10 +01:00
Joe Thornber
bd06f58f6f [cache_check] feature to test --quiet 2013-10-08 11:21:31 +01:00
Joe Thornber
fd7c539a58 [cache_check] Errors weren't being propagated up to the exit code 2013-10-04 16:08:31 +01:00
Joe Thornber
9c65f2f30b [cache_dump.feature] correct -h expectations 2013-09-26 12:05:53 +01:00
Joe Thornber
61e90998c0 [cache_dump, cache_restore] restore/dump cycle works 2013-09-19 13:45:56 +01:00
Joe Thornber
ea424c4134 Fixup some feature tests that need metadata.bin present
They were failing for the wrong reason.
2013-09-16 13:41:55 +01:00
Joe Thornber
6638f7054f Test for missing input file 2013-09-16 13:06:23 +01:00
Joe Thornber
93b1077017 Fix bad thinp_xml command line 2013-09-16 13:05:58 +01:00
Joe Thornber
6615b25e4b WIP on cache tools 2013-09-11 11:40:46 +01:00
Joe Thornber
d3ce6b811b Start stubbing out cache_dump 2013-08-19 12:40:03 +01:00
Joe Thornber
4360c8cbff Some work on cache_check and cache_restore 2013-08-16 16:29:41 +01:00
Joe Thornber
5fa1c0a212 Add a feature that tests failure when the output file is missed off the thin_restore command line. 2013-08-16 16:28:25 +01:00
Joe Thornber
487f48145f Move cache_check_steps.rb -> cache_steps.rb 2013-08-16 14:28:46 +01:00
Joe Thornber
2ea9cf9961 [features] test for thin_dump with small metadata 2013-07-09 13:06:18 +01:00
Joe Thornber
ceba0f00ec [features] dump matches original metadata
Currently failing
2013-06-28 12:28:02 +01:00
Joe Thornber
90fb1c4fb5 [features] dump/restore is a noop 2013-06-28 12:19:24 +01:00
Joe Thornber
b7bdf1a3f2 Add feature file for thin_restore. 2013-06-27 09:40:43 +01:00
Joe Thornber
f41b0abcef [cucumber tests] make the 'print version' tests less brittle 2013-06-25 11:11:50 +01:00
Joe Thornber
f0edd3ae6e cucumber tests now read version from VERSION rather than having it hard coded in 2013-06-25 11:10:19 +01:00
Joe Thornber
5f778db322 More work on the thin_check --quiet feature 2013-06-19 14:36:09 +01:00
Joe Thornber
9b4ec6cafc Add a cucumber test for thin_check --quiet 2013-06-19 14:13:29 +01:00
Joe Thornber
055b237126 tweaks to metadata constructor, and some updated features. 2013-06-19 11:34:01 +01:00
Joe Thornber
54604161eb whitespace 2013-05-24 10:35:18 +01:00
Joe Thornber
25a090279f [thin_rmap] region parsing 2013-05-23 13:57:57 +01:00