summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-27.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-10 09:19:13 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-28 11:46:47 +0100
commit468874997a274e5ba576f82f6fd201692507525b (patch)
tree5638f06b0c66d71326afc211f674204109686d6c /test/units/testsuite-27.sh
parenttest: move TEST-26-SETENV setup to static files (diff)
downloadsystemd-468874997a274e5ba576f82f6fd201692507525b.tar.xz
systemd-468874997a274e5ba576f82f6fd201692507525b.zip
test: move TEST-27-STDOUTFILE setup to static files
Diffstat (limited to '')
-rwxr-xr-xtest/units/testsuite-27.sh (renamed from test/TEST-27-STDOUTFILE/testsuite.sh)8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/TEST-27-STDOUTFILE/testsuite.sh b/test/units/testsuite-27.sh
index c522f75dbc..9d92e6e574 100755
--- a/test/TEST-27-STDOUTFILE/testsuite.sh
+++ b/test/units/testsuite-27.sh
@@ -5,7 +5,7 @@ set -o pipefail
systemd-analyze log-level debug
systemd-analyze log-target console
-systemd-run --wait --unit=one \
+systemd-run --wait --unit=test27-one \
-p StandardOutput=file:/tmp/stdout \
-p StandardError=file:/tmp/stderr \
-p Type=exec \
@@ -17,7 +17,7 @@ cmp /tmp/stderr <<EOF
y
EOF
-systemd-run --wait --unit=two \
+systemd-run --wait --unit=test27-two \
-p StandardOutput=file:/tmp/stdout \
-p StandardError=file:/tmp/stderr \
-p Type=exec \
@@ -29,7 +29,7 @@ cmp /tmp/stderr <<EOF
a
EOF
-systemd-run --wait --unit=three \
+systemd-run --wait --unit=test27-three \
-p StandardOutput=append:/tmp/stdout \
-p StandardError=append:/tmp/stderr \
-p Type=exec \
@@ -45,6 +45,6 @@ EOF
systemd-analyze log-level info
-echo OK > /testok
+echo OK >/testok
exit 0