1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-17 06:45:05 -05:00

test makepkg-template: Add template-without-version

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 bd2473797e
commit d5f703729f
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,8 @@
pkgname=foo
pkgver=1
build() {
# template start; name=template-without_version
make install
# template end;
}

View File

@ -0,0 +1,9 @@
arguments+=()
expected_exitcode=255
IFS="" read -d '' expected_output <<'EOF'
Couldn't detect version for template 'template-without_version'
EOF
IFS="" read -d '' expected_result <<'EOF'
EOF