Joe Thornber
2860b4c0b1
[thin_check] rename --fix-metadata-leaks to --auto-repair
...
This flag will cover all trivial fixes, such as data leaks.
2020-08-12 10:45:20 +01:00
Ming-Hung Tsai
80965944c6
[thin_check] Add functional tests for --fix-metadata-leaks
2020-07-30 23:00:50 +08:00
Ming-Hung Tsai
1932c243dd
[thin_check] Add functional tests for incompatible options
2020-07-30 23:00:50 +08:00
Joe Thornber
23f3033f61
[functional-tests] bump version nr
2020-07-03 13:28:02 +01:00
Joe Thornber
d1cf87712b
Bump version to 0.9.0-rc1
2020-06-15 12:50:58 +01:00
Joe Thornber
409a660082
[pack/unpack] Get the functional tests working again.
...
There's some hard coded version numbers in the tests, but I'm
leaving for now since I'll rewrite in Rust to avoid too much
of a proliferation of languages.
2020-06-09 13:03:39 +01:00
Joe Thornber
9daa726870
[thin_metadata_pack/unpack] functional tests
2020-05-26 10:55:03 +01:00
Joe Thornber
5f2c3bed69
Add some ftests, and fixup whitespace from Nikhil's work
2019-10-28 11:52:21 +00:00
Nikhil Kshirsagar
91b4714e38
Corrupt superblock repair
2019-10-25 15:02:56 +05:30
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
d299cc66d1
[functional-tests/thin_dump] check no error msg with clean metadata
2019-05-27 15:38:45 +01:00
Joe Thornber
d1a41d01cc
[thin-check] print out some info fields.
...
These are consumed by lvm.
2018-11-09 12:43:21 +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
Joe Thornber
4e1b7f89ee
[functional-tests] add a couple of tests
2017-10-05 11:56:53 +01:00
Joe Thornber
331303fe03
[functional-tests] Add thin_repair test for accidental XML input.
...
Was segfaulting.
2017-09-29 10:19:56 +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
b10d8d4440
[thin_check] Spot XML and be helpful.
2017-09-15 15:22:04 +01:00
Joe Thornber
738ab8391d
[functional-tests] Improve the (thin-delta unrecognised-option) test
2017-09-15 12:26:54 +01:00
Joe Thornber
4d3733d0e7
[functional-tests] change btree functions to take a spine.
...
Also change the step-spine interface slightly.
2017-09-14 16:09:43 +01:00
Joe Thornber
fe1f46ae07
whitespace
2017-08-31 10:09:58 +01:00
Joe Thornber
8c251018c6
[functional-tests] thin_delta tests
2017-08-30 10:39:58 +01:00
Joe Thornber
12024bf232
[functional-tests/thin] Factor out with-empty-metadata
2017-08-29 14:55:48 +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
be34337b06
[functional-tests] Add some cache tests
2017-08-25 15:03:50 +01:00
Joe Thornber
78cb2570a3
[functional-tests] start a trivial (disk-units) library
2017-08-25 11:25:37 +01:00
Joe Thornber
ccd89d32da
[functional-tests/thin] use a temp file to hold metadata
2017-08-25 11:12:18 +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
b5d27e2a0c
[functional-tests] move some functions from (thin-functional-tests)
2017-08-17 16:24:10 +01:00
Joe Thornber
8fc8331404
[functional-tests] add show-tests.scm script which lists the tests.
2017-08-17 11:30:28 +01:00
Joe Thornber
66647ae549
[functional-tests] Tests are now identified by a list of symbols.
...
Improved formatting too.
2017-08-17 11:23:43 +01:00
Joe Thornber
08ebf0aa8a
[functional-tests] split up main.scm
2017-08-15 16:07:45 +01:00