#!/bin/sh
# Smoke-test the installed command line tools.
set -eu

OUT="${AUTOPKGTEST_TMP:-/tmp}/out.txt"

dfm-searcher --version
dfm-searcher --features

# dfm-burner exits non-zero after printing its usage, so check the output
# instead of the exit status.
dfm-burner --help > "${OUT}" 2>&1 || true
cat "${OUT}"
grep -q '^Usage: dfm-burner' "${OUT}"
