Skip to content

Releases: bats-core/bats-file

v0.4.0

23 Aug 22:21
13ad5e2
Compare
Choose a tag to compare

Added

  • add aliases for assert_*_exists (#34, #43)
  • CI: run shellcheck, fixed found issues (#51)
  • assert_file_contains: print regex on error (#57)
  • add assert_file_not_contains (#61)

Fixed

  • various links and typos in README.md (#28, #26, #45)
  • migrated CI scripts to Github Actions (#42)
  • make temp_* functions compatible with setup_file (#36)
  • don't require sudo anymore for assert_file_owner/assert_not_file_owner (#38, #50)
  • fixed internal unset variable errors with set -u (#33)
  • make temp_del work even when contents are write protected (#31)
  • parameter documentation for assert_file_permissions (#47)
  • tests use bats_load_library bats-support (#48)
  • fix temp_make template to work with Alpine's mktemp (#52)
  • removed temp.bash's executable bit (#55)
  • use new bats_sudo helper to avoid running sudo as root/when not available (#53, 54)
  • fix assert_symlink_to for temp files in OSX (#56)

Enhance file functions

07 Jan 14:56
c128a1d
Compare
Choose a tag to compare
  • Many new file based assert functions where added