summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/tests/lib/shunit2/doc/RELEASE_NOTES-2.1.6.txt
blob: 50087fe4880b8babefd65ad72b2a5c784cebbfb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Release Notes for shUnit2 2.1.6
===============================

This release contains bug fixes and changes. It is also the first release to
support running shunit2 as a standalone program.

Please read the Shell Errata section of the documentation for guidance on how
to meet these requirements.

See the ``CHANGES-2.1.txt`` file for a full list of changes.

New Features
------------

Support for running shUnit2 as a standalone program. This makes it possible for
users to execute their unit tests in a manner that is not dependent on the
location an OS distribution maintainer chose to place shUnit2 in the file
system.

Added support for functions defined like 'function someFunction()'.

Changes and Enhancements
------------------------

Renamed the public ``shunit_tmpDir`` variable to ``SHUNIT_TMPDIR`` to be more
consistent with the ``TMPDIR`` variable.

Bug Fixes
---------

Fixed issue where shunit2 would fail on some distributions when creating a
temporary directory because the **od** command was not present.

Deprecated Features
-------------------

None.

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 ``shunit_test_misc.sh``)

Tested Platforms
----------------

Cygwin 1.7.9 (Windows XP SP2)

- bash 4.1.10(4)
- dash 0.5.6.1
- ksh (sym-link to pdksh)
- pdksh 5.2.14
- zsh 4.3.11

Linux (Ubuntu Dapper 6.06.2 LTS)

- bash 3.1.17(1)
- dash 0.5.3
- ksh (sym-link to pdksh)
- pdksh 5.2.14-99/07/13.2
- zsh 4.2.5

Linux (Ubuntu Hardy 8.04.4 LTS)

- bash 3.2.39(1)
- dash 0.5.4
- ksh M-1993-12-28
- pdksh 5.2.14-99/07/13.2
- zsh 4.3.4

Linux (Ubuntu Lucid 10.04.2 LTS)

- bash 4.1.5(1)
- dash 0.5.5.1
- ksh JM-93t+-2009-05-01
- pdksh 5.2.14-99/07/13.2
- zsh 4.3.10

Mac OS X 10.6.7

- bash 3.2.48(1)
- ksh M-1993-12-28
- zsh 4.3.9

Solaris 8 U7 x86

- /bin/sh
- bash 2.03.0(1)
- ksh M-11/16/88i
- zsh 3.0.6

Solaris 9 U6 x86

- /bin/sh
- bash 2.05.0(1)
- ksh M-11/16/88i
- zsh 3.0.8

OpenSolaris 2009.06(snv_111b) x86

- /bin/sh
- bash 3.2.25(1)
- ksh 2008-11-04

.. vim:fileencoding=latin1:ft=rst:spell:tw=80