#!/usr/bin/env bash # SPDX-License-Identifier: LGPL-2.1-or-later set -eux 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