diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-12-21 15:46:37 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-01-11 09:58:24 +0100 |
commit | ca5af32b9931172387cf3df47cece22bf1523186 (patch) | |
tree | d62425ceb16514caaa6c36d4f71dbc965b4f232f /test/scripts/makepkg-template-tests | |
parent | f617b6acd4e33586819ac5728825cbdcac12f042 (diff) | |
download | pacman-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')
-rw-r--r-- | test/scripts/makepkg-template-tests/testcase-config-template | 9 |
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 |