diff --git a/CHANGELOG.md b/CHANGELOG.md index e691808..3915300 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [unreleased] +## [3.3.1] + +### Fixed + +- bug #19 (FAILCHECK mode does not work) +- references in change log + ## [3.3.0] ### Fixed @@ -228,7 +235,9 @@ aligned with SDaaS [2.1.0] First release, aligned with SDaaS [2.0.3] (Talete) -[Unreleased]: https://github.com/linkeddatacenter/sdaas-ce/compare/3.2.2...HEAD +[Unreleased]: https://github.com/linkeddatacenter/sdaas-ce/compare/3.3.1...HEAD +[3.3.1]: https://github.com/linkeddatacenter/sdaas-ce/compare/3.3.1...3.3.0 +[3.3.0]: https://github.com/linkeddatacenter/sdaas-ce/compare/3.3.0...3.2.2 [3.2.2]: https://github.com/linkeddatacenter/sdaas-ce/compare/3.2.2...3.1.1 [3.2.1]: https://github.com/linkeddatacenter/sdaas-ce/compare/3.2.1...3.1.0 [3.2.0]: https://github.com/linkeddatacenter/sdaas-ce/compare/3.2.0...3.1.0 diff --git a/scripts/testing.include b/scripts/testing.include index 720b0ee..2c5c1b7 100644 --- a/scripts/testing.include +++ b/scripts/testing.include @@ -23,7 +23,7 @@ function SD_DATA_TEST { if [ "$failMode" = "FASTFAIL" ]; then SD_FATAL_ERROR "test FASTFAIL" else - failedTests=$((failedTests++)) + ((failedTests++)) fi ;; esac @@ -38,13 +38,13 @@ function SD_DATA_TEST { if [ "$failMode" = "FASTFAIL" ]; then SD_FATAL_ERROR "test FASTFAIL" else - failedTests=$((failedTests++)) + ((failedTests++)) fi fi done - if [ "$failMode" = "FAILCHECK " ] && [ $failedTests -gt 0 ] ; then - SD_FATAL_ERROR "abort on$failedTests test failed." + if [ "$failMode" = "FAILCHECK " -a $failedTests -gt 0 ] ; then + SD_FATAL_ERROR "abort on $failedTests test failed." fi }