2021-10-17 16:07:22 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2018-03-25 18:50:15 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Test for basic execution
|
2019-06-27 14:11:34 +00:00
|
|
|
ConditionKernelVersion=">=3.0"
|
|
|
|
ConditionKernelVersion=">=2.0" "<=60" "!=1.4"
|
2019-06-28 08:58:06 +00:00
|
|
|
ConditionKernelVersion=" >= 2.0" " <= 60 " "!= 1.4"
|
|
|
|
ConditionKernelVersion=" >= 2.0" " * " "*.*"
|
2018-03-25 18:50:15 +00:00
|
|
|
|
|
|
|
[Service]
|
2018-11-18 18:51:25 +00:00
|
|
|
ExecStart=touch /tmp/a ; /bin/sh -c 'touch /tmp/b' ; touch /tmp/c
|
2018-03-25 18:50:15 +00:00
|
|
|
ExecStart=test -f /tmp/a
|
|
|
|
ExecStart=!test -f /tmp/b
|
|
|
|
ExecStart=!!test -f /tmp/c
|
|
|
|
ExecStartPost=rm /tmp/a /tmp/b /tmp/c
|
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
Type=oneshot
|