The NetBSD Project

CVS log for pkgsrc/devel/shunit2/distinfo

[BACK] Up to [] / pkgsrc / devel / shunit2

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 14 15:08:42 2023 UTC (7 months, 1 week ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, HEAD
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Update to 2.1.8. From the changelog:

# New features

Users can now define a custom prefix for test function names. The prefix
can be configured by defining a `SHUNIT_TEST_PREFIX` variable.

Colorized output, based on popular demand. shUnit2 output is now
colorized based on the result of the asserts.

# Changes and Enhancements

Shell commands in shUnit2 are prefixed with '\' so that they can be
stubbed in tests.

# Bug fixes

Syntax errors in functions are now treated as test failures.

Test now fail when `setup()` or `tearDown()` fail.

shUnit2 no longer exits with an 'OK' result if there were syntax errors
due to incorrect usage of the assert commands.

# Known bugs and issues

Zsh requires the `shwordsplit` option to be set. See the documentation
for examples of how to do this.

Line numbers in assert messages do not work properly with BASH 2.x.

The Bourne shell of Solaris, BASH 2.x, and Zsh 3.0.x do not properly
catch the SIGTERM signal. As such, shell interpreter failures due to
such things as unbound variables cannot be caught. (See

shUnit2 does not work when the `-e` shell option is set (typically done
with `set -e`).

# Tested platforms

Tested OSes:

- Linux
- macOS

Tested shells:

- /bin/sh
- ash
- bash
- dash
- ksh
- pdksh
- zsh

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 26 10:19:55 2021 UTC (22 months, 4 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:

The following distfiles were unfetchable (note: some may be only fetched

./devel/pvs/distinfo pvs-3.2-solaris.tgz

Revision 1.2 / (download) - annotate - [select for diffs], Thu Oct 7 13:44:29 2021 UTC (23 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

devel: Remove SHA1 hashes for distfiles

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 4 10:06:56 2017 UTC (6 years, 2 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3

Import shunit2-2.1.6 as devel/shunit2.

shUnit2 is a xUnit unit test framework for Bourne based shell scripts,
and it is designed to work in a similar manner to JUnit, PyUnit, etc.
If you have ever had the desire to write a unit test for a shell script,
shUnit2 can do the job.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>