test makepkg-template: Add template-without-version
Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
bd2473797e
commit
d5f703729f
3 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
pkgname=foo
|
||||||
|
pkgver=1
|
||||||
|
|
||||||
|
build() {
|
||||||
|
# template start; name=template-without_version
|
||||||
|
make install
|
||||||
|
# template end;
|
||||||
|
}
|
|
@ -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
|
Loading…
Add table
Reference in a new issue