[pacman-dev] [PATCH 02/11] test makepkg-template: Add invalid-key

Florian Pritz bluewind at xinu.at
Sun Dec 21 15:11:20 UTC 2014


Signed-off-by: Florian Pritz <bluewind at xinu.at>
---
 test/scripts/makepkg-template-tests/invalid-key/PKGBUILD        | 1 +
 test/scripts/makepkg-template-tests/invalid-key/expected_output | 3 +++
 2 files changed, 4 insertions(+)
 create mode 100644 test/scripts/makepkg-template-tests/invalid-key/PKGBUILD
 create mode 100644 test/scripts/makepkg-template-tests/invalid-key/expected_output

diff --git a/test/scripts/makepkg-template-tests/invalid-key/PKGBUILD b/test/scripts/makepkg-template-tests/invalid-key/PKGBUILD
new file mode 100644
index 0000000..02bfadc
--- /dev/null
+++ b/test/scripts/makepkg-template-tests/invalid-key/PKGBUILD
@@ -0,0 +1 @@
+# template input; []³|>=bar;
diff --git a/test/scripts/makepkg-template-tests/invalid-key/expected_output b/test/scripts/makepkg-template-tests/invalid-key/expected_output
new file mode 100644
index 0000000..2d9e9b9
--- /dev/null
+++ b/test/scripts/makepkg-template-tests/invalid-key/expected_output
@@ -0,0 +1,3 @@
+invalid key/value pair
+./makepkg-template-tests/invalid-key/PKGBUILD:1: # template input; []³|>=bar;
+255
-- 
2.2.1


More information about the pacman-dev mailing list