Commit Graph

21 Commits

Author SHA1 Message Date
Joe Thornber 1dd7b454bb [thin_repair, cache_repair] Check input file exists earlier
and zero superblock if we fail part way through a repair.

bz1499781
2019-10-08 14:34:24 +01:00
Joe Thornber bca125d97a [functional-tests] a bunch of thin tests 2017-12-12 15:27:20 +00:00
Joe Thornber 74e2506734 [functional-tests] use ../bin in the path for tools, even if they're
failing.
2017-10-10 16:51:31 +01:00
Joe Thornber 8e2a415bdc [functional-tests] Fix *_check/tiny-input-file 2017-10-05 16:18:42 +01:00
csonto 5b5aa971a0 Detect XML in *_check tools (#86)
* [*_check] Detect XML in cache_check and era_check

This is based on previous commit b10d8d4440.

* [*_check] Fix typo in check_superblock
2017-10-05 13:47:10 +01:00
Joe Thornber 4e1b7f89ee [functional-tests] add a couple of tests 2017-10-05 11:56:53 +01:00
Joe Thornber f018e6ecf7 [functional-tests] Check *_restore doesn't touch the metadata if the xml doesn't exists, or isn't xml. 2017-09-28 14:36:01 +01:00
Joe Thornber 48e7ab89a5 [*_dump] Fix segfault when given a tiny metadata file 2017-09-21 10:22:38 +01:00
Joe Thornber 2a39350235 [functional-test] remove out of date comment 2017-09-15 15:59:10 +01:00
Joe Thornber 738ab8391d [functional-tests] Improve the (thin-delta unrecognised-option) test 2017-09-15 12:26:54 +01:00
Joe Thornber fe1f46ae07 whitespace 2017-08-31 10:09:58 +01:00
Joe Thornber e0bab67bd8 whitespace 2017-08-30 10:38:19 +01:00
Joe Thornber bcc7f85f1e [functional-tests/cache] cache_metadata_size tests 2017-08-30 10:12:46 +01:00
Joe Thornber 33f0c23ca1 [functional-tests] give all temporary files sensible names.
This makes it much easier when debugging a test.
2017-08-29 14:46:59 +01:00
Joe Thornber 761c655035 [functional-tests/cache] remove deliberately failing test + whitespace 2017-08-29 13:23:27 +01:00
Joe Thornber be34337b06 [functional-tests] Add some cache tests 2017-08-25 15:03:50 +01:00
Joe Thornber de2e243408 [functional-tests/cache] use a temp file for metadata 2017-08-25 11:26:09 +01:00
Joe Thornber 3635952ec8 [functional-tests] (process) lib, and create a per scenario log file 2017-08-25 09:46:56 +01:00
Joe Thornber 02618e39d1 [functional-tests] Lexically scoped temp file stuff 2017-08-24 14:03:07 +01:00
Joe Thornber e3053df850 [functional-tests] factor out temp-file library 2017-08-23 10:48:33 +01:00
Joe Thornber d142fbe0a5 [functional-tests] Add some cache_check tests 2017-08-17 16:26:15 +01:00