Commit Graph

1376 Commits

Author SHA1 Message Date
Joe Thornber
ad208bd22e bump version 2017-10-10 12:32:01 +01:00
Joe Thornber
7d79a93566 [functional-tests] get the version string from VERSION 2017-10-10 11:44:05 +01:00
Joe Thornber
3a8c42e2d9 [functional-tests] use the tools in bin, rather than those installed on
the system.
2017-10-10 11:37:32 +01:00
Joe Thornber
6bf81aab85 [functional-tests] Don't include the dm tests in the ft suite.
I'll create a separate program for those.
2017-10-10 11:17:54 +01:00
Joe Thornber
997dbcf2ad Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2017-10-10 10:29:53 +01:00
Joe Thornber
1b7ec80501 [build] fix typo 2017-10-10 10:29:24 +01:00
Joe Thornber
b9230d1bbb [functional-tests] roll all the C code into a single libft.so 2017-10-10 10:28:56 +01:00
Joe Thornber
edd7d16ced Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2017-10-09 11:40:20 +01:00
Joe Thornber
6a668524d7 Update changes. 2017-10-09 11:39:34 +01:00
Joe Thornber
22030bc138 [functional-tests] fix silly library syntax error 2017-10-06 15:51:19 +01:00
Joe Thornber
d9b3133aca [functional-tests] (device-mapper targets) 2017-10-06 15:26:10 +01:00
Joe Thornber
f80200d179 [era_check] If the superblock fails the checksum try other checks. 2017-10-05 16:21:17 +01:00
Joe Thornber
8e2a415bdc [functional-tests] Fix *_check/tiny-input-file 2017-10-05 16:18:42 +01:00
Joe Thornber
817fd9a06c Merge branch 'run-tests-bad-pattern' 2017-10-05 15:08:25 +01:00
Joe Thornber
3eadbaf433 [functional-tests] Fix bug when a pattern matches to tests. 2017-10-05 15:05:22 +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
db9259d303 bump version to 0.7.3 2017-10-05 13:28:36 +01:00
Joe Thornber
b742d9d4da [functional-tests] update thin_check help 2017-10-05 13:22:28 +01:00
Joe Thornber
825a58922d [era_invalidate] Tweak --help message. 2017-10-05 12:48:36 +01:00
Joe Thornber
8a0ee61434 [man pages] Add missing argument to era_invalidate 2017-10-05 12:38:47 +01:00
Joe Thornber
4e1b7f89ee [functional-tests] add a couple of tests 2017-10-05 11:56:53 +01:00
Joe Thornber
3c761e6822 [all tools] Factor out open_bm() and open_tm.
Many duplicates of this code.
2017-10-05 11:53:40 +01:00
Joe Thornber
924a996fa7 [era_restore] Ignore errors from zero_superblock.
Since it's on the error path.
2017-10-05 11:49:01 +01:00
Joe Thornber
99e8459be3 [thin_rmap] tweak an error message. 2017-10-05 08:22:58 +01:00
Joe Thornber
24931b3bda [thin_check] --override-mapping-root 2017-10-04 11:43:13 +01:00
Joe Thornber
dcb0fe1148 [functional-tests] add a useful script for investigating corrupt thin metadata 2017-10-04 10:45:39 +01:00
Joe Thornber
3b30d9e225 [functional-tests] Move mapping tree to metadata, and add functions for device-tree 2017-10-04 10:40:25 +01:00
Joe Thornber
48b3ac960c [functional-tests] Export some more from (persistent-data btree) 2017-10-04 10:30:15 +01:00
Joe Thornber
5fd33b9560 [functional-tests] Knock up some crc32c code.
This works 1 byte at a time so will be slow.
2017-10-04 10:25:32 +01:00
Joe Thornber
8b7e5acc48 [functional-tests/utils] add all?, some? and none?
They only work with one list though.  Use every from srfi1.
2017-10-04 10:19:46 +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
5b92f410ec [*_restore] if things go wrong wipe the superblock.
So we don't leave the metadata device with partially restored metadata.
2017-09-28 14:39:24 +01:00
Joe Thornber
8035e10b2a Merge branch 'master' of github.com:jthornber/thin-provisioning-tools 2017-09-28 14:37:18 +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
5e2cd1e9f2 [functional-tests] more work on the dm-ioctl bindings 2017-09-27 15:50:16 +01:00
Joe Thornber
742629fb8d [functional-tests] start working on dm-ioctl bindings 2017-09-26 15:16:45 +01:00
Joe Thornber
a1acd0c868 [functional-tests] fix bug in run_tests if command line pattern was shorter than "re:" 2017-09-26 14:02:42 +01:00
Joe Thornber
7796b4eecb [functional-tests] bcache makefile 2017-09-21 15:12:07 +01:00
Joe Thornber
d4df0cc272 [man pages] tweak cache_check manpage. 2017-09-21 13:14:20 +01:00
Joe Thornber
af063b0e9d [man pages] add a bit of text from the Fedora build. 2017-09-21 13:02:17 +01:00
Joe Thornber
eb564b32fe [man pages] Add --clear-needs-check to thin_check manpage 2017-09-21 12:56:31 +01:00
Joe Thornber
22430c636d bump version to 0.7.2 2017-09-21 11:23:59 +01:00
Joe Thornber
2b29d6c20c [man pages] Don't refer to the non-existant era_repair. 2017-09-21 10:37:28 +01:00
Joe Thornber
48e7ab89a5 [*_dump] Fix segfault when given a tiny metadata file 2017-09-21 10:22:38 +01:00
Joe Thornber
7079b1ec9e [functional-tests] fix up some tests. 2017-09-20 17:13:03 +01:00
Joe Thornber
5814fea96a [man pages] fix some formatting issues with the new man pages. 2017-09-20 13:53:59 +01:00
Joe Thornber
dd8848f088 [manpages] Rewrite man pages in a simpler text format.
Makefile still needs work, but I wanted to commit to save progress.
2017-09-20 11:15:00 +01:00
Joe Thornber
e48516914d [thin_trim] add some required args to the manpage 2017-09-19 12:36:25 +01:00
Joe Thornber
7dec2bfa08 [thin_ls manpage] add comma 2017-09-19 11:45:22 +01:00
Joe Thornber
313716028e [thin-metadata-size] -V was exiting with 1 2017-09-19 11:29:35 +01:00