aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/trial_test.ok
blob: 8c6a5672ba3268212fd06573db62cc50588cae50 (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