Automic VaultAutomic Vault

brew

atf を Homebrew, apk, MacPorts, Nix, apt, dnf でインストール

atf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install atf

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install atf

MacPorts ports tree · devel/atf/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add atf

Alpine Linux edge package indexes · atf · ソース: dl-cdn.alpinelinux.org

Nix確認済み · 92%
nix profile install nixpkgs#atf

nixpkgs package indexes · pkgs/by-name/at/atf/package.nix · ソース: api.github.com

Debian apt確認済み · 92%
sudo apt install atf-sh

Debian stable package indexes · atf-sh · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install atf-tests

Fedora Rawhide package metadata · atf-tests · ソース: dl.fedoraproject.org

概要

パッケージ概要

Automated testing framework

コマンドとエイリアス

  • atf-sh

履歴

プロジェクトの歴史と使われ方

ATF, the Automated Testing Framework, is a small but historically important Unix testing framework for writing test programs in C, C++, and POSIX shell. Its value is less about being a fashionable standalone test runner and more about providing a consistent test-program API and command-line interface for base-system and ports/package test suites.

プロジェクトの歴史

The official README describes ATF as libraries for C, C++, and POSIX shell, with ATF-based tests relying on an external execution engine rather than shipping one itself. The same README identifies Kyua as the preferred execution engine, which reflects ATF's later role as the test-definition layer inside a larger BSD testing stack.

The NEWS file records a major 2014 transition: version 0.19 moved project hosting from Google Code, where ATF had been a Kyua subproject, to GitHub as a first-class project. That release also separated deprecated tools such as atf-run and atf-report from the maintained libraries, foreshadowing the modern split where Kyua handles execution.

採用の歴史

ATF is strongly associated with BSD operating-system testing. The README explicitly recommends binary packages for FreeBSD, NetBSD/pkgsrc, OpenBSD, and Ubuntu, and the NEWS file calls out FreeBSD test-suite support in the 0.19 release. That made ATF familiar to package maintainers who care about base-system regression tests, portable shell tests, and tests shipped alongside system components.

Its package-manager footprint is broad for such a specialized tool: the input lists packages in Homebrew, MacPorts, pkgsrc-adjacent systems, Debian/Ubuntu, Fedora, Nix, and Alpine. That packaging spread matters because ATF tests are often consumed by downstream distributions rather than only by application developers.

使われ方

ATF is used to write test cases in C, C++, or shell that expose a consistent interface to humans and automation. In practice, users commonly install ATF alongside Kyua, write tests with atf-c, atf-c++, or atf-sh, and let Kyua discover and run them.

The Homebrew formula exposes at least the atf-sh executable, which is the part many command-line package users encounter first when running or authoring shell-based tests.

パッケージ好きにとっての重要性

ATF is package-nerd infrastructure: it is not glamorous, but it sits in the plumbing between source trees, operating-system test suites, and downstream package validation. Its removal of the old runner tools in favor of Kyua is the sort of split that explains why different packages may depend on atf libraries, atf-sh, or Kyua separately.

The long quiet period between the 2014 0.21 release and later 2024/2025 releases is also notable for maintainers: old system-test tooling can remain relevant for a decade when it is embedded in OS and packaging workflows.

タイムライン

  • 2014: ATF 0.19 moved from Google Code to GitHub and separated deprecated runner/reporting tools.
  • 2014: ATF 0.20 removed the deprecated tools from the maintained release line.
  • 2014: ATF 0.21 restored and refreshed manual-page documentation and improved FreeBSD-current compatibility.
  • 2024: ATF 0.22 refreshed the codebase for modern C++ and build-system compatibility.
  • 2025: ATF 0.23 fixed release tarball generation and other build/test issues.

Related projects

  • Kyua is the preferred execution engine for ATF-based tests.
  • FreeBSD's test suite is a major downstream context for ATF.
  • pkgsrc, OpenBSD ports, Debian/Ubuntu, and other package systems distribute ATF or ATF shell tooling.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
atf-shcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.23
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/freebsd/atf

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報No cached GitHub release or tag data was available.https://github.com/freebsd/atf信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:atf
バージョン0.23
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/atf
ホームページhttps://github.com/freebsd/atf
リポジトリhttps://github.com/freebsd/atf
上流ドキュメントhttps://github.com/freebsd/atf#readme
ライセンスBSD-2-Clause
ソースアーカイブhttps://github.com/freebsd/atf/releases/download/atf-0.23/atf-0.23.tar.gz
ビルド依存関係autoconf, automake, libtool
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

atf-sh 0.22-3

Automated Test Framework (shell library)

https://github.com/freebsd/atf

sudo apt install atf-sh
  • Section: libs
  • Architecture: amd64
  • Source Package: atf
  • 5 依存関係
  • normalized package name match
  • 一致条件: Atf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: atf-sh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libatf-c++-2 0.22-3

Automated Test Framework (shared C++ library)

https://github.com/freebsd/atf

sudo apt install libatf-c++-2
  • Section: libs
  • Architecture: amd64
  • Source Package: atf
  • 4 依存関係
  • normalized package name match
  • 一致条件: Atf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libatf-c++-2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libatf-c-1 0.22-3

Automated Test Framework (shared C library)

https://github.com/freebsd/atf

sudo apt install libatf-c-1
  • Section: libs
  • Architecture: amd64
  • Source Package: atf
  • 1 依存関係
  • normalized package name match
  • 一致条件: Atf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libatf-c-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libatf-dev 0.22-3

Automated Test Framework (development files)

https://github.com/freebsd/atf

sudo apt install libatf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: atf
  • 2 依存関係
  • normalized package name match
  • 一致条件: Atf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libatf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

atf

nix profile install nixpkgs#atf
  • normalized package name match
  • 一致条件: Atf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/at/atf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

atf-sh 0.21-6build4

Automated Test Framework (shell library)

https://github.com/jmmv/atf

sudo apt install atf-sh
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: atf
  • 5 依存関係
  • normalized package name match
  • 一致条件: Atf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: atf-sh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libatf-c++-2 0.21-6build4

Automated Test Framework (shared C library)

https://github.com/jmmv/atf

sudo apt install libatf-c++-2
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: atf
  • 4 依存関係
  • normalized package name match
  • 一致条件: Atf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libatf-c++-2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libatf-c-1 0.21-6build4

Automated Test Framework (shared C++ library)

https://github.com/jmmv/atf

sudo apt install libatf-c-1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: atf
  • 1 依存関係
  • normalized package name match
  • 一致条件: Atf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libatf-c-1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libatf-dev 0.21-6build4

Automated Test Framework (development files)

https://github.com/jmmv/atf

sudo apt install libatf-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: atf
  • 2 依存関係
  • normalized package name match
  • 一致条件: Atf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libatf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

atf 0.23-r0

libraries to write tests in C, C++ and shell

https://github.com/freebsd/atf

sudo apk add atf
  • License: BSD-2-Clause AND BSD-3-Clause
  • Architecture: x86_64
  • Source Package: atf
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Atf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: atf from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

atf-dev 0.23-r0

libraries to write tests in C, C++ and shell (development files)

https://github.com/freebsd/atf

sudo apk add atf-dev
  • License: BSD-2-Clause AND BSD-3-Clause
  • Architecture: x86_64
  • Source Package: atf
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Atf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: atf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

atf-doc 0.23-r0

libraries to write tests in C, C++ and shell (documentation)

https://github.com/freebsd/atf

sudo apk add atf-doc
  • License: BSD-2-Clause AND BSD-3-Clause
  • Architecture: x86_64
  • Source Package: atf
  • normalized package name match
  • 一致条件: Atf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: atf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

atf-static 0.23-r0

libraries to write tests in C, C++ and shell (static library)

https://github.com/freebsd/atf

sudo apk add atf-static
  • License: BSD-2-Clause AND BSD-3-Clause
  • Architecture: x86_64
  • Source Package: atf
  • normalized package name match
  • 一致条件: Atf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: atf-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

atf-tests 0.23-4.fc44

Automated Testing Framework - Test suite

https://github.com/freebsd/atf

sudo dnf install atf-tests
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: atf
  • 13 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Atf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: atf-tests from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libatf-c 0.23-4.fc44

Automated Testing Framework - C bindings

https://github.com/freebsd/atf

sudo dnf install libatf-c
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: atf
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Atf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libatf-c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libatf-c++ 0.23-4.fc44

Automated Testing Framework - C++ bindings

https://github.com/freebsd/atf

sudo dnf install libatf-c++
  • License: LicenseRef-Callaway-BSD
  • Category: Unspecified
  • Architecture: i686
  • Source Package: atf
  • 6 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Atf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libatf-c++ from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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