1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

test makepkg-template: Add invalid-template-line-missing-name

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 207ba1e05f
commit 107eabdfb3
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
# template input;

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 template line: can't find template name
./makepkg-template-tests/invalid-template-line-missing-name/PKGBUILD:1: # template input;
EOF
IFS="" read -d '' expected_result <<'EOF'
EOF