#!/bin/sh # Verify how tmpfiles reads the argument, the last field of an entry set -eu TEST_DIR=$(dirname "$0") DIR=/tmp/arg CONF=/tmp/arg.conf test_teardown() { say "Running test teardown." run "rm -rf $DIR $CONF" } # shellcheck source=/dev/null . "$TEST_DIR/lib/setup.sh" run "cat > $CONF" <