mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 10:46:23 +00:00
Add minor safety check to a Rhizome test case
Ensure that two generated test files are different instead of just assuming they are; makes the test logic more explicit.
This commit is contained in:
parent
98ed0406c5
commit
fd50a34fc8
@ -465,6 +465,7 @@ setup_CorruptPayload() {
|
||||
wait_until bundle_received_by $BID:$VERSION +B
|
||||
assert cmp file1 "$SERVALINSTANCE_PATH/blob/$FILEHASH"
|
||||
create_file file2 1024
|
||||
assert --error-on-fail ! cmp file1 file2
|
||||
cp file2 "$SERVALINSTANCE_PATH/blob/$FILEHASH"
|
||||
execute --exit-status=255 $servald rhizome extract file $BID file1a
|
||||
# TODO at the moment, the re-fetch is only triggered by restarting the
|
||||
|
Loading…
Reference in New Issue
Block a user