Commit Graph

8 Commits

Author SHA1 Message Date
Joe Thornber 95ae4fef6a [functional tests] Use dd to create zeroed files
Previously I was using fallocate, which has issues on some filesystems.
2018-12-12 13:14:09 +00:00
Joe Thornber e03b878df3 [functional tests] Move test output from /tmp to .
tmpfs has trouble with O_DIRECT.
2018-12-12 13:13:11 +00:00
Joe Thornber 1172b2f450 [functional-tests] with-temp-file-sized now takes *either* bytes or a disk-size object 2018-04-18 15:12:28 +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 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 970cd314de [functional-tests/temp-file] temp-file-sized 2017-08-25 11:26:45 +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