Package Details: shunit2 2.1.8-1

Git Clone URL: (read-only, click to copy)
Package Base: shunit2
Description: xUnit based unit testing for Unix shell scripts
Upstream URL:
Keywords: testing xUnit
Licenses: Apache
Submitter: None
Maintainer: patrick96
Last Packager: patrick96
Votes: 9
Popularity: 0.000035
First Submitted: 2011-06-20 10:59 (UTC)
Last Updated: 2022-03-13 20:56 (UTC)

Latest Comments

patrick96 commented on 2022-03-13 21:00 (UTC)

@Popolon shunit will run its tests in a bunch of shells (zsh, dash, bash, ksh, ash, mksh) if they are available. However, tests are kind of broken in all shells except for bash 1. That's why this package does not require the other shells during build time. I have now updated the PKGBUILD to only run tests with bash, even if other shells are available to improve the stability of the build process.

Popolon commented on 2022-03-10 10:47 (UTC)

Needed for the build test phase: makedepends=('zsh') It still fail, with only warning, probably something else wrong, but at least not with an error on zsh.

JonnyJD commented on 2016-10-16 16:35 (UTC)

Thanks, updated.

ronalde commented on 2016-10-07 14:00 (UTC)

Please update PKBUILD as the remote urls have changed: ``` index 562088a..0d11f5b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,14 @@ # Contributor: Johannes Dewender arch at JonnyJD dot net # Contributor: Geoffrey Teale <> -pkgname=shunit2 +pkgname=shunit2 pkgver=2.1.6 -pkgrel=7 +pkgrel=8 pkgdesc="xUnit based unit testing for Unix shell scripts" -url="" +url="" arch=('any') license=('LGPL2.1') depends=('bash') -source=($pkgname-$pkgver.tgz) +source=($pkgname/$pkgname-$pkgver.tgz) md5sums=('4af955ef88c454808754939c83afa22b') ``` Regards, Ronald

JonnyJD commented on 2013-04-09 22:44 (UTC)

adopted and fixed. I added the included tests to check(). They run fine for sh and bash, but not for dash. The build still finishes though.

commented on 2011-08-14 05:54 (UTC)

Thanks falconindy. I will address this when I return from Holiday.

falconindy commented on 2011-08-13 19:53 (UTC)

This package is broken. 1) Do not include the install scriptlet as part of the source. makepkg --source will include it as part of the tarball. As is, this tarball cannot be unpacked properly. 2) Do not create files as part of the install scriptlet. This install scriptlet isn't even needed. 3) Empty fields can be ommitted. 4) perl is missing as a makedep, but better yet, just use sed. I've incorporated all this into a proper PKGBUILD.