summaryrefslogtreecommitdiffstats
path: root/test/scripts/makepkg-template-tests/testcase-config-template
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-12-21 15:46:37 +0100
committerAllan McRae <allan@archlinux.org>2015-01-11 09:58:24 +0100
commitca5af32b9931172387cf3df47cece22bf1523186 (patch)
treed62425ceb16514caaa6c36d4f71dbc965b4f232f /test/scripts/makepkg-template-tests/testcase-config-template
parentf617b6acd4e33586819ac5728825cbdcac12f042 (diff)
downloadpacman-ca5af32b9931172387cf3df47cece22bf1523186.tar.gz
pacman-ca5af32b9931172387cf3df47cece22bf1523186.tar.xz
Add testrunner for makepkg-template
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'test/scripts/makepkg-template-tests/testcase-config-template')
-rw-r--r--test/scripts/makepkg-template-tests/testcase-config-template9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/scripts/makepkg-template-tests/testcase-config-template b/test/scripts/makepkg-template-tests/testcase-config-template
new file mode 100644
index 00000000..66267d3b
--- /dev/null
+++ b/test/scripts/makepkg-template-tests/testcase-config-template
@@ -0,0 +1,9 @@
+arguments+=()
+expected_exitcode=0
+
+# set IFS="" if you want trailing new line(s), otherwise remove it
+IFS="" read -d '' expected_output <<'EOF'
+EOF
+
+IFS="" read -d '' expected_result <<'EOF'
+EOF