#!/bin/sh set -eu export PATH=/bin:/usr/bin:/sbin:/usr/sbin HOME=/root LC_ALL=C phase=identity finish() { status=$? if [ "$status" -ne 0 ]; then echo "btop fixture failed at $phase with status $status"; fi /sbin/poweroff -f } trap finish EXIT test "$(uname -o)" = Vinix phase=version version=$(btop --version) printf '%s\n' "$version" printf '%s\n' "$version" | grep -Fxq 'btop version: 1.4.0' phase=help btop --help >/tmp/btop-help grep -Fq -- '--version' /tmp/btop-help phase=package-data test -s /usr/share/btop/themes/dracula.theme test -s /usr/share/man/man1/btop.1 echo 'VPAC FIXTURE GUEST PASS'