From bd2473797e634723e1406315c37e1bed72595267 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 21 Dec 2014 15:48:57 +0100 Subject: test makepkg-template: Add name-charset-valid Signed-off-by: Florian Pritz --- .../name-charset-valid/testcase-config | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/scripts/makepkg-template-tests/name-charset-valid/testcase-config (limited to 'test/scripts/makepkg-template-tests/name-charset-valid/testcase-config') diff --git a/test/scripts/makepkg-template-tests/name-charset-valid/testcase-config b/test/scripts/makepkg-template-tests/name-charset-valid/testcase-config new file mode 100644 index 00000000..409444a9 --- /dev/null +++ b/test/scripts/makepkg-template-tests/name-charset-valid/testcase-config @@ -0,0 +1,19 @@ +arguments+=() +expected_exitcode=0 + +_setup_testcase() { + ln -sr "templates/"{foo\@-_.+a-1.template,foo\@-_.+a.template} +} +IFS="" read -d '' expected_output <<'EOF' +EOF + +IFS="" read -d '' expected_result <<'EOF' +pkgname=foo +pkgver=1 + +build() { +# template start; name=foo@-_.+a; version=1; +42 cookies +# template end; +} +EOF -- cgit v1.2.3-70-g09d2