test makepkg-template: Add name-charset-invalid
Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
4dd9ccbc78
commit
6201f6e5ac
2 changed files with 18 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
||||||
|
pkgname=foo
|
||||||
|
pkgver=1
|
||||||
|
|
||||||
|
build() {
|
||||||
|
# template start; name=foo/
|
||||||
|
make install
|
||||||
|
# template end;
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
arguments+=()
|
||||||
|
expected_exitcode=255
|
||||||
|
|
||||||
|
IFS="" read -d '' expected_output <<'EOF'
|
||||||
|
invalid chars used in name 'foo/'. allowed: [:alnum:]+_.@-
|
||||||
|
./makepkg-template-tests/name-charset-invalid/PKGBUILD:5: # template start; name=foo/
|
||||||
|
EOF
|
||||||
|
|
||||||
|
IFS="" read -d '' expected_result <<'EOF'
|
||||||
|
EOF
|
Loading…
Add table
Reference in a new issue