1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-11 11:55:12 -05:00
pacman/test/scripts/makepkg-template-tests/missing-template-file/testcase-config
Florian Pritz 17ad845c41 test makepkg-template: Add missing-template-file
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-01-11 18:58:24 +10:00

15 lines
410 B
Plaintext

arguments+=()
expected_exitcode=2
_setup_testcase() {
ln -sr "templates/"{perl-module-1.0.template,perl-module.template}
}
# set IFS="" if you want trailing new lines, otherwise remove it
IFS="" read -d '' expected_output <<'EOF'
failed to open './makepkg-template-tests/missing-template-file/templates/perl-module-1.0.template': No such file or directory
EOF
IFS="" read -d '' expected_result <<'EOF'
EOF