Commit Graph

42 Commits

Author SHA1 Message Date
Joe Thornber
cbbdfc37da [cache] cache_metadata_size 2014-01-15 15:52:05 +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
Joe Thornber
5498e0bc46 [thin_check] fluff 2013-05-23 13:57:15 +01:00
Joe Thornber
bc67fc17b1 [thin_rmap] Stub 2013-05-23 13:15:00 +01:00
Joe Thornber
e7303a11c6 [thin_check] --ignore-non-fatal-errors 2013-05-23 11:57:02 +01:00
Joe Thornber
f8efc4f58c [thin_check] Add cucumber test for --skip-mappings 2013-05-23 11:45:08 +01:00
Joe Thornber
6fe92d4a63 [thin_check] wire up mapping tree checker 2013-05-22 14:55:28 +01:00
Joe Thornber
b456f16aa0 [thin_check] Wire up check_device_tree. 2013-05-21 15:49:20 +01:00
Joe Thornber
a55f6fcf78 A stack of thin_check refactorings 2013-04-25 16:27:07 +01:00
Joe Thornber
20ff78c818 [thin_check] Start refactoring metadata_checker. 2013-04-23 15:21:44 +01:00
Joe Thornber
9943bd6549 cucumber tests were generating invalid xml metadata. 2013-04-23 11:17:50 +01:00
Joe Thornber
3629e1e2b5 cucumber test for thin_check --super-block-only 2013-04-11 13:40:47 +01:00
Joe Thornber
c044c2c729 Convert buffer_t to gmock. 2013-03-22 12:04:38 +00:00
Joe Thornber
52f1aa8a8a cache_check work 2013-03-21 15:45:45 +00:00
Joe Thornber
81d4e5523f Some trivial cucumber tests 2013-03-20 19:44:09 +00:00