test makepkg-template: Add invalid-key
Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
ca5af32b99
commit
207ba1e05f
2 changed files with 12 additions and 0 deletions
1
test/scripts/makepkg-template-tests/invalid-key/PKGBUILD
Normal file
1
test/scripts/makepkg-template-tests/invalid-key/PKGBUILD
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# template input; []³|>=bar;
|
|
@ -0,0 +1,11 @@
|
||||||
|
arguments+=()
|
||||||
|
expected_exitcode=255
|
||||||
|
|
||||||
|
# set IFS="" if you want trailing new lines, otherwise remove it
|
||||||
|
IFS="" read -d '' expected_output <<'EOF'
|
||||||
|
invalid key/value pair
|
||||||
|
./makepkg-template-tests/invalid-key/PKGBUILD:1: # template input; []³|>=bar;
|
||||||
|
EOF
|
||||||
|
|
||||||
|
IFS="" read -d '' expected_result <<'EOF'
|
||||||
|
EOF
|
Loading…
Add table
Reference in a new issue