diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-04-08 00:09:55 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-04-08 20:21:50 +0200 |
commit | 0ee994836cac6684b5d2e3aae5f8b44f1758e0f5 (patch) | |
tree | cfd7898553f2583748342469866865d50e454614 /test/units/testsuite-39.sh | |
parent | 4e20fe27950e14e8a082a74515f347546a9371d0 (diff) | |
download | systemd-0ee994836cac6684b5d2e3aae5f8b44f1758e0f5.tar.gz |
TEST-*: use spacing before redirection operator, but not after
<< EOF → <<EOF
> foo < bar → >foo <bar
Diffstat (limited to 'test/units/testsuite-39.sh')
-rwxr-xr-x | test/units/testsuite-39.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/units/testsuite-39.sh b/test/units/testsuite-39.sh index 0b0cfc5aa5..5c0680878f 100755 --- a/test/units/testsuite-39.sh +++ b/test/units/testsuite-39.sh @@ -11,7 +11,7 @@ SERVICE_PATH="$(mktemp /etc/systemd/system/execreloadXXX.service)" SERVICE_NAME="${SERVICE_PATH##*/}" echo "[#1] Failing ExecReload= should not kill the service" -cat > "$SERVICE_PATH" << EOF +cat >"$SERVICE_PATH" <<EOF [Service] ExecStart=/bin/sleep infinity ExecReload=/bin/false @@ -27,7 +27,7 @@ systemctl stop $SERVICE_NAME echo "[#2] Failing ExecReload= should not kill the service (multiple ExecReload=)" -cat > "$SERVICE_PATH" << EOF +cat >"$SERVICE_PATH" <<EOF [Service] ExecStart=/bin/sleep infinity ExecReload=/bin/true @@ -44,7 +44,7 @@ systemctl status $SERVICE_NAME systemctl stop $SERVICE_NAME echo "[#3] Failing ExecReload=- should not affect reload's exit code" -cat > "$SERVICE_PATH" << EOF +cat >"$SERVICE_PATH" <<EOF [Service] ExecStart=/bin/sleep infinity ExecReload=-/bin/false @@ -59,6 +59,6 @@ systemctl stop $SERVICE_NAME systemd-analyze log-level info -echo OK > /testok +echo OK >/testok exit 0 |