summaryrefslogtreecommitdiffstats
path: root/selftest/trial_test.ok
blob: 6ad39a971d152053481415f3f1e23eb8ffeb6e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- make a few trials dirs
[TMP]/first
[TMP]/second
[TMP]/third
- fetch trial dirs in order
first
['taken']
second
third
- no more trial dirs left
None
- test checksum verification
- detect wrong checksum
ok, got RuntimeError("Checksum mismatch for '[PATH]/trial_test/invalid_checksum/file2' vs. '[PATH]/trial_test/invalid_checksum/checksums.md5' line 2",)
- detect missing file
ok, got RuntimeError("File listed in checksums file but missing in trials dir: '[PATH]/trial_test/missing_file/file2' vs. '[PATH]/trial_test/missing_file/checksums.md5' line 2",)