1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 Description=Test for StandardOutput=file:
6 ExecStartPre=sh -c 'printf "nooo\nhello\n" >/tmp/test-exec-standardoutput-output'
7 ExecStartPre=sh -c 'printf "hello\nello\n" >/tmp/test-exec-standardoutput-expected'
9 StandardInputText=hello
10 StandardOutput=file:/tmp/test-exec-standardoutput-output
13 ExecStart=cmp /tmp/test-exec-standardoutput-expected /tmp/test-exec-standardoutput-output