Automic VaultAutomic Vault

brew

Install shunit2 with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Unit testing framework for Bourne-based shell scripts. Version 2.1.8 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install shunit2

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install shunit2

MacPorts ports tree · devel/shunit2/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add shunit2

Alpine Linux edge package indexes · shunit2 · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install shunit2

Debian stable package indexes · shunit2 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install shunit2

Fedora Rawhide package metadata · shunit2 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#shunit2

nixpkgs package indexes · pkgs/by-name/sh/shunit2/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S shunit2

Arch Linux sync databases · shunit2 · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install shunit2

openSUSE Tumbleweed package metadata · shunit2 · source: download.opensuse.org

overview

Package summary

Unit testing framework for Bourne-based shell scripts

Commands and aliases

  • shunit2

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:shell

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
shunit2cliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.1.8
manager updated
local dataok
upstreamcurrent
latest detectedv2.1.8

https://github.com/kward/shunit2

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:shunit2
Version2.1.8
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/shunit2
Homepagehttps://github.com/kward/shunit2
Repositoryhttps://github.com/kward/shunit2
Upstream docshttps://github.com/kward/shunit2#readme
LicenseApache-2.0
Source archivehttps://github.com/kward/shunit2/archive/refs/tags/v2.1.8.tar.gz
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameshunit2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

shunit2 2.1.8-4

unit test framework for Bourne based shell scripts

https://github.com/kward/shunit2

sudo apt install shunit2
  • Section: devel
  • Architecture: all
  • normalized package name match
  • Matched by: Shunit2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: shunit2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

shunit2

nix profile install nixpkgs#shunit2
  • normalized package name match
  • Matched by: Shunit2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sh/shunit2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

shunit2 2.1.8-4

unit test framework for Bourne based shell scripts

https://github.com/kward/shunit2

sudo apt install shunit2
  • Section: universe/devel
  • Architecture: all
  • normalized package name match
  • Matched by: Shunit2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: shunit2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

shunit2 2.1.8-r1

A xUnit based unit test framework for Bourne based shell scripts.

https://github.com/kward/shunit2/

sudo apk add shunit2
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: shunit2
  • 1 provides
  • normalized package name match
  • Matched by: Shunit2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shunit2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

shunit2-doc 2.1.8-r1

A xUnit based unit test framework for Bourne based shell scripts. (documentation)

https://github.com/kward/shunit2/

sudo apk add shunit2-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: shunit2
  • normalized package name match
  • Matched by: Shunit2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shunit2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

shunit2 2.1.6-31.fc44

A xUnit based unit testing for Unix shell scripts

http://code.google.com/p/shunit2

sudo dnf install shunit2
  • License: LicenseRef-Callaway-LGPLv2
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: shunit2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Shunit2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: shunit2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

shunit2 2.1.8-2

xUnit based unit testing for Unix shell scripts

https://github.com/kward/shunit2

sudo pacman -S shunit2
  • License: Apache-2.0
  • Architecture: any
  • 1 dependencies
  • normalized package name match
  • Matched by: Shunit2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: shunit2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

shunit2 2.1.8-2.3

Test Framework for Bourne Based Shell Scripts

https://github.com/kward/shunit2

sudo zypper install shunit2
  • License: Apache-2.0
  • Category: Development/Languages/Other
  • Architecture: noarch
  • Source Package: shunit2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Shunit2
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: shunit2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

shunit2

sudo port install shunit2
  • normalized package name match
  • Matched by: Shunit2
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/shunit2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment