bats-file provides various assertions and helpers to simplify writing
Bats tests that deal with files and filesystems.
.
For example:
.
* assert_file_contains: Check if the file content matches a regex.
* assert_file_owner: Check if a specific user owns the file.
* assert_symlink_to: Check if the file is a symlink to the target.
* temp_make: Create a temp directory for the current test in BATS_TMPDIR.
Installed Size: 50.2 kB
Architectures: all