Coder Social home page Coder Social logo

Doc unit tests are failing about bash_unit HOT 1 CLOSED

pgrange avatar pgrange commented on May 21, 2024
Doc unit tests are failing

from bash_unit.

Comments (1)

pgrange avatar pgrange commented on May 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.