[pacman-dev] [PATCH v5] Add testrunner for makepkg-template

Florian Pritz bluewind at xinu.at
Mon Dec 29 09:52:27 UTC 2014


On 29.12.2014 04:50, Andrew Gregory wrote:
>> diff --git a/test/scripts/makepkg-template_test.sh b/test/scripts/makepkg-template_test.sh
>> new file mode 100755
>> index 0000000..60cbb0c
>> --- /dev/null
>> +++ b/test/scripts/makepkg-template_test.sh
>> @@ -0,0 +1,56 @@
>> +#!/bin/bash
>> +
>> +source "$(dirname "$0")"/../tap.sh || exit 1
>> +
>> +script=${1:-${PMTEST_SCRIPT_DIR}/makepkg-template}
> 
> That slash needs to be removed so that when PMTEST_SCRIPT_DIR isn't
> defined we'll look for "makepkg-template" not "/makepkg-template".
> 

Fixed on my working branch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20141229/686037f7/attachment.bin>


More information about the pacman-dev mailing list