Skip to content

Commit 47be8b2

Browse files
authored
Merge pull request kward#126 from osamuaoki/master
pdksh -> mksh and correct path for shunit2 in README.md
2 parents 19fabf5 + 1e7c85b commit 47be8b2

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Cygwin | user | unknown
6262

6363
* Bourne Shell (__sh__)
6464
* BASH - GNU Bourne Again SHell (__bash__)
65-
* DASH (__dash__)
66-
* Korn Shell (__ksh__)
67-
* pdksh - Public Domain Korn Shell (__pdksh__)
65+
* DASH - Debian Almquist Shell (__dash__)
66+
* Korn Shell - AT&T version of the Korn shell (__ksh__)
67+
* mksh - MirBSD Korn Shell (__mksh__)
6868
* zsh - Zsh (__zsh__) (since 2.1.2) _please see the Zsh shell errata for more information_
6969

7070
See the appropriate Release Notes for this release
@@ -184,6 +184,15 @@ ton more examples, take a look at the tests provided with [log4sh][log4sh] or
184184
shUnit2 was after all written to meet the unit testing need that
185185
[log4sh][log4sh] had.
186186

187+
If you are using distribution packaged shUnit2 which is accessible from
188+
`/usr/bin/shunit2` such as Debian, you can load shUnit2 without specifying its
189+
path. So the last 2 lines in the above can be replaced by:
190+
191+
```sh
192+
# Load shUnit2.
193+
. shunit2
194+
```
195+
187196
---
188197

189198
## <a name="function-reference"></a> Function Reference
@@ -477,7 +486,7 @@ Notes:
477486

478487
1. Line numbers are not supported in all shells. If a shell does not support
479488
them, no errors will be thrown. Supported shells include: __bash__ (>=3.0),
480-
__ksh__, __pdksh__, and __zsh__.
489+
__ksh__, __mksh__, and __zsh__.
481490

482491
### <a name="test-skipping"></a> Test Skipping
483492

@@ -538,7 +547,7 @@ oneTimeSetUp() {
538547
}
539548

540549
# Load and run shUnit2.
541-
. ./shunit2
550+
. ../shunit2
542551
```
543552

544553
Running the above test under the __bash__ shell will result in the following

0 commit comments

Comments
 (0)