Comments (1)
Something happened between Debian jessie and stretch, related to this issue.
Test pass on jessie:
docker run -v $(pwd):/bash_unit debian:jessie /bash_unit/bash_unit /bash_unit/tests/test_doc.sh
Running tests in /bash_unit/tests/test_doc.sh
Running test_block_1... SUCCESS
Running test_block_10... SUCCESS
Running test_block_11... SUCCESS
Running test_block_12... SUCCESS
Running test_block_13... SUCCESS
Running test_block_14... SUCCESS
Running test_block_15... SUCCESS
Running test_block_16... SUCCESS
Running test_block_17... SUCCESS
Running test_block_18... SUCCESS
Running test_block_19... SUCCESS
Running test_block_2... SUCCESS
Running test_block_20... SUCCESS
Running test_block_21... SUCCESS
Running test_block_22... SUCCESS
Running test_block_23... SUCCESS
Running test_block_3... SUCCESS
Running test_block_4... SUCCESS
Running test_block_5... SUCCESS
Running test_block_6... SUCCESS
Running test_block_7... SUCCESS
Running test_block_8... SUCCESS
Running test_block_9... SUCCESS
But fails on stretch:
docker run -v $(pwd):/bash_unit debian:stretch /bash_unit/bash_unit /bash_unit/tests/test_doc.sh
Running tests in /bash_unit/tests/test_doc.sh
Running test_block_1... SUCCESS
Running test_block_10... SUCCESS
Running test_block_11... SUCCESS
Running test_block_12... SUCCESS
Running test_block_13... SUCCESS
Running test_block_14... SUCCESS
Running test_block_15... SUCCESS
Running test_block_16... SUCCESS
Running test_block_17... FAILURE
out> --- /tmp/1/expected_output17 2018-10-28 08:37:44.618339600 +0000
out> +++ /tmp/1/test_output17 2018-10-28 08:37:44.610339630 +0000
out> @@ -1 +1 @@
out> -bash: line 1: _ps: command not found
out> +environment: line 1: _ps: command not found
test_doc.sh:29:test_block_17()
Running test_block_18... SUCCESS
Running test_block_19... SUCCESS
Running test_block_2... SUCCESS
Running test_block_20... SUCCESS
Running test_block_21... SUCCESS
Running test_block_22... SUCCESS
Running test_block_23... SUCCESS
Running test_block_3... SUCCESS
Running test_block_4... SUCCESS
Running test_block_5... SUCCESS
Running test_block_6... SUCCESS
Running test_block_7... SUCCESS
Running test_block_8... SUCCESS
Running test_block_9... SUCCESS
It fails even with the oldest stretch I can find:
docker run -v $(pwd):/bash_unit debian:stretch-20180625 /bash_unit/bash_unit /bash_unit/tests/test_doc.sh
Running tests in /bash_unit/tests/test_doc.sh
Running test_block_1... SUCCESS
Running test_block_10... SUCCESS
Running test_block_11... SUCCESS
Running test_block_12... SUCCESS
Running test_block_13... SUCCESS
Running test_block_14... SUCCESS
Running test_block_15... SUCCESS
Running test_block_16... SUCCESS
Running test_block_17... FAILURE
out> --- /tmp/1/expected_output17 2018-10-28 08:40:25.913732302 +0000
out> +++ /tmp/1/test_output17 2018-10-28 08:40:25.905732332 +0000
out> @@ -1 +1 @@
out> -bash: line 1: _ps: command not found
out> +environment: line 1: _ps: command not found
test_doc.sh:29:test_block_17()
Running test_block_18... SUCCESS
Running test_block_19... SUCCESS
Running test_block_2... SUCCESS
Running test_block_20... SUCCESS
Running test_block_21... SUCCESS
Running test_block_22... SUCCESS
Running test_block_23... SUCCESS
Running test_block_3... SUCCESS
Running test_block_4... SUCCESS
Running test_block_5... SUCCESS
Running test_block_6... SUCCESS
Running test_block_7... SUCCESS
Running test_block_8... SUCCESS
Running test_block_9... SUCCESS
from bash_unit.
Related Issues (20)
- Conditional skipping tests HOT 10
- [FEATURE REQUEST] Quiet mode HOT 7
- [FEATURE REQUEST] Show only failed test
- [FEATURE REQUEST] Live/Development/Watch mode HOT 5
- [BUG] `bash_unit:99` error `command not found` HOT 9
- `grep: write error: Broken pipe` when running tests HOT 2
- There should be a screenshot or gif at the top of the README HOT 2
- A quick list of supported assertions should appear near the top
- The README should feature yaml source code for a github action HOT 1
- Install script is broken on Alpine HOT 1
- Code coverage is planning? HOT 3
- line 18 $'\r' command not found HOT 2
- Feature Proposals HOT 1
- Failing `test_block_20` in `test_doc.sh` HOT 6
- Support RE Matching HOT 1
- bash_unit version tag HOT 1
- Improve fake to share parameters as array
- setup and teardown per test function HOT 6
- [feature] an assertion that compares numbers within a delta HOT 2
- Test does not stop after assertion inside fake fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bash_unit.