MidnightBSD Magus

devel/shunit2

xUnit based unit testing for Unix shell scripts

Flavor Version Run OSVersion Arch License Restricted Status
2.1.8.93 600 3.2 i386 apache2 0 fail

License Permissions:

Events

Machine Type Time Message
m3232 info 2025-02-12 07:03:16.902701 Test Started
m3232 fail 2025-02-12 07:03:26.304167 make test returned non-zero: 1
m3232 fail 2025-02-12 07:03:26.437675 Test complete.

Log

===>  Testing for shunit2-2.1.8.93
#------------------------------------------------------------------------------
# System data.
#

$ uname -mprsv
MidnightBSD 3.2.2 MidnightBSD 3.2.2 #0n13144-068662fe3e(stable/3.2)-dirty: Sun Feb  9 13:20:15 EST 2025     root@m3232:/usr/obj/usr/src/i386.i386/sys/GENERIC  i386 i386

OS Name: unrecognized
OS Version: unrecognized

### Test run info.
shells: /usr/local/bin/bash
tests: shunit2_args_test.sh shunit2_asserts_test.sh shunit2_failures_test.sh shunit2_general_test.sh shunit2_macros_test.sh shunit2_misc_test.sh shunit2_shopt_test.sh shunit2_standalone_test.sh


#------------------------------------------------------------------------------
# Running the test suite with /usr/local/bin/bash.
#
shell name: bash
shell version: 5.2.37(0)-release

--- Executing the 'shunit2_args' test suite. ---
custom_test
testCustomTestRan

Ran 2 tests.

OK

--- Executing the 'shunit2_asserts' test suite. ---
testAssertEquals
testAssertNotEquals
testAssertSame
testAssertNotSame
testAssertContains
testAssertNotContains
testAssertNull
testAssertNotNull
testAssertTrue
testAssertFalse
testTooFewArguments
testTooManyArguments

Ran 12 tests.

OK

--- Executing the 'shunit2_failures' test suite. ---
testFail
testFailsWithArgs
testTooFewArguments
testTooManyArguments

Ran 4 tests.

OK

--- Executing the 'shunit2_general' test suite. ---
testSkipping
testStartSkippingWithMessage
testStartSkippingWithoutMessage

Ran 3 tests.

OK

--- Executing the 'shunit2_macros' test suite. ---
test:WARN ${LINENO} is not working for this shell. Tests will be skipped.
testAssertEquals
testAssertNotEquals
testSame
testNotSame
testNull
testNotNull
testAssertTrue
testAssertFalse
testFail
testFailNotEquals
testFailSame
testFailNotSame

Ran 12 tests.

OK (skipped=24)

--- Executing the 'shunit2_misc' test suite. ---
testUnboundVariable
testIssue7
testIssue29
testIssue54
testIssue69
testIssue77
testIssue84
testIssue123
testPrepForSourcing
testExtractTestFunctions
ASSERT:expected: but was:
shunit2:ERROR testExtractTestFunctions() returned non-zero return code.
testColors
testColorsWitoutTERM

Ran 12 tests.

FAILED (failures=1)
runner:WARN /usr/local/bin/bash not passing

--- Executing the 'shunit2_shopt' test suite. ---
testNullglob

Ran 1 test.

OK

--- Executing the 'shunit2_standalone' test suite. ---
testStandalone

Ran 1 test.

OK
*** Error code 1

Stop.
make: stopped in /usr/mports/devel/shunit2

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis