test makepkg-template: Add invalid-key

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2014-12-21 15:48:57 +01:00 committed by Allan McRae
parent ca5af32b99
commit 207ba1e05f
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
# template input; []³|>=bar;

View File

@ -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