#!/bin/sh # Verify the % specifiers of tmpfiles.d(5), in the path and the argument set -eu TEST_DIR=$(dirname "$0") DIR=/tmp/specifier CONF=/tmp/specifier.conf test_teardown() { say "Running test teardown." run "rm -rf $DIR $CONF" } # shellcheck source=/dev/null . "$TEST_DIR/lib/setup.sh" run "cat > $CONF" <