mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
test makepkg-template: Add name-charset-invalid
Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
4dd9ccbc78
commit
6201f6e5ac
@ -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…
Reference in New Issue
Block a user