Package Details: shunit2 2.1.8-1

Git Clone URL: https://aur.archlinux.org/shunit2.git (read-only, click to copy)
Package Base: shunit2
Description: xUnit based unit testing for Unix shell scripts
Upstream URL: https://github.com/kward/shunit2/
Keywords: testing xUnit
Licenses: Apache
Submitter: None
Maintainer: patrick96
Last Packager: patrick96
Votes: 9
Popularity: 0.000000
First Submitted: 2011-06-20 10:59 (UTC)
Last Updated: 2023-08-25 20:38 (UTC)

Required by (2)

Sources (1)

Latest Comments

MarsSeed commented on 2023-08-25 21:30 (UTC)

Thank you!

patrick96 commented on 2023-08-25 20:39 (UTC)

@MarsSeed done

MarsSeed commented on 2023-08-23 16:01 (UTC)

Please kindly declare a package name specific filename for the source file, like $pkgname-$pkgver. Otherwise the downloaded tarball might clash with other files if user has a common SRCDEST configured.

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 <g.teale@elsevier.com> -pkgname=shunit2 +pkgname=shunit2 pkgver=2.1.6 -pkgrel=7 +pkgrel=8 pkgdesc="xUnit based unit testing for Unix shell scripts" -url="http://code.google.com/p/shunit2/" +url="https://github.com/kward/shunit2/" arch=('any') license=('LGPL2.1') depends=('bash') -source=(http://shunit2.googlecode.com/files/$pkgname-$pkgver.tgz) +source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$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.

<deleted-account> 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. http://paste.xinu.at/QST/