[pacman-dev] [PATCH 03/11] test makepkg-template: Add invalid-template-line-missing-name
Florian Pritz
bluewind at xinu.at
Sun Dec 21 15:11:21 UTC 2014
Signed-off-by: Florian Pritz <bluewind at xinu.at>
---
.../makepkg-template-tests/invalid-template-line-missing-name/PKGBUILD | 1 +
.../invalid-template-line-missing-name/expected_output | 3 +++
2 files changed, 4 insertions(+)
create mode 100644 test/scripts/makepkg-template-tests/invalid-template-line-missing-name/PKGBUILD
create mode 100644 test/scripts/makepkg-template-tests/invalid-template-line-missing-name/expected_output
diff --git a/test/scripts/makepkg-template-tests/invalid-template-line-missing-name/PKGBUILD b/test/scripts/makepkg-template-tests/invalid-template-line-missing-name/PKGBUILD
new file mode 100644
index 0000000..d0a20c1
--- /dev/null
+++ b/test/scripts/makepkg-template-tests/invalid-template-line-missing-name/PKGBUILD
@@ -0,0 +1 @@
+# template input;
diff --git a/test/scripts/makepkg-template-tests/invalid-template-line-missing-name/expected_output b/test/scripts/makepkg-template-tests/invalid-template-line-missing-name/expected_output
new file mode 100644
index 0000000..bfb3886
--- /dev/null
+++ b/test/scripts/makepkg-template-tests/invalid-template-line-missing-name/expected_output
@@ -0,0 +1,3 @@
+invalid template line: can't find template name
+./makepkg-template-tests/invalid-template-line-missing-name/PKGBUILD:1: # template input;
+255
--
2.2.1
More information about the pacman-dev
mailing list