1 # SPDX-License-Identifier: LGPL-2.1-or-later
3 Description=Test for StandardInputText= and StandardInputData=
6 ExecStart=sh -x -c 'd=$$(mktemp -d -p /tmp); echo -e "this is a test\nand this is more\nsomething encoded!\nsomething in multiple lines\nand some more\nand a more bas64 data\nsomething with strange\nembedded\tcharacters\nand something with a exec-stdin-data.service specifier" >$d/text ; cmp $d/text ; rm -rf $d'
9 StandardInputText=this is a test
10 StandardInputText=and this is more
11 StandardInputData=c29tZXRoaW5nIGVuY29kZWQhCg==
12 StandardInputText=something \
16 StandardInputData=YW5kIGEgbW9y \
19 StandardInputText=something with strange\nembedded\tcharacters
20 StandardInputText=and something with a %n specifier