A test rule that compares two binary files.
The rule uses a Bash command (diff) on Linux/macOS/non-Windows, and a cmd.exe command (fc.exe) on Windows (no Bash is required).
A test that compares two files.
The test succeeds if the files' contents match.
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
failure_message | Additional message to log if the files' contents do not match. | String | optional | "" |
file1 | Label of the file to compare to file2 . | Label | required | |
file2 | Label of the file to compare to file1 . | Label | required |