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
[1m===> Testing for shunit2-2.1.8.93[0m
#------------------------------------------------------------------------------
# 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 [1;36m2[0m tests.
[1;32mOK[0m
--- Executing the 'shunit2_asserts' test suite. ---
testAssertEquals
testAssertNotEquals
testAssertSame
testAssertNotSame
testAssertContains
testAssertNotContains
testAssertNull
testAssertNotNull
testAssertTrue
testAssertFalse
testTooFewArguments
testTooManyArguments
Ran [1;36m12[0m tests.
[1;32mOK[0m
--- Executing the 'shunit2_failures' test suite. ---
testFail
testFailsWithArgs
testTooFewArguments
testTooManyArguments
Ran [1;36m4[0m tests.
[1;32mOK[0m
--- Executing the 'shunit2_general' test suite. ---
testSkipping
testStartSkippingWithMessage
testStartSkippingWithoutMessage
Ran [1;36m3[0m tests.
[1;32mOK[0m
--- 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
[1;31mASSERT:[0mexpected: but was:
[1;31mshunit2:ERROR[0m testExtractTestFunctions() returned non-zero return code.
testColors
testColorsWitoutTERM
Ran [1;36m12[0m tests.
[1;31mFAILED[0m ([1;31mfailures=1[0m)
runner:WARN /usr/local/bin/bash not passing
--- Executing the 'shunit2_shopt' test suite. ---
testNullglob
Ran [1;36m1[0m test.
[1;32mOK[0m
--- Executing the 'shunit2_standalone' test suite. ---
testStandalone
Ran [1;36m1[0m test.
[1;32mOK[0m
*** Error code 1
Stop.
make: stopped in /usr/mports/devel/shunit2
Links
Depends On
- shells/bash (build)
- shells/bash (run)
Depend Of
Categories
CVEs
- Loading CVE information...
MidnightBSD Magus