Skip to content

Commit

Permalink
bats: upgrade 1.6.0 -> 1.6.1
Browse files Browse the repository at this point in the history
The 1.6.1 incorporates the
0001-Fix-status-in-teardown-overriding-exit-code.patch backport patch.

Changelog:
==========

Fixed:
------
prevent teardown, teardown_file, and teardown_suite from overriding bats'
exit code by setting $status (e.g. via calling run) (openembedded#581, openembedded#575)
CRITICAL: this can return exit code 0 despite failed tests, thus preventing
your CI from reporting test failures! The regression happened in version 1.6.0.

Documentation:
--------------
corrected invalid documentation of run -N (had =N instead) (openembedded#579)
CRITICAL: using the incorrect form can lead to silent errors. See issue openembedded#578
for more details and how to find out if your tests are affected.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 72fbb83)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
  • Loading branch information
diego-sueiro authored and akuster committed May 23, 2022
1 parent 3a76ff4 commit 0b78362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 154 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"

SRC_URI = "\
git://github.com/bats-core/bats-core.git;branch=master;protocol=https \
file://0001-Fix-status-in-teardown-overriding-exit-code.patch \
git://github.com/bats-core/bats-core.git;branch=version/1.6.x;protocol=https \
"

# v1.6.0
SRCREV = "210acf3a8ed318ddedad3137c15451739beba7d4"
# v1.6.1
SRCREV = "1977254c2a7faa2e0af17355856f91dc471d1daa"

S = "${WORKDIR}/git"

Expand Down

This file was deleted.

0 comments on commit 0b78362

Please sign in to comment.