#!/usr/bin/env bash set -ex set -o pipefail systemd-analyze log-level debug systemd-analyze log-target console systemd-run --wait --unit=test27-one \ -p StandardOutput=file:/tmp/stdout \ -p StandardError=file:/tmp/stderr \ -p Type=exec \ sh -c 'echo x ; echo y >&2' cmp /tmp/stdout <&2' cmp /tmp/stdout <&2' cmp /tmp/stdout <&2' cmp /tmp/stdout </testok exit 0