SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
devel/shunit2/patches/patch-src_shunit2_test_sh
Normal file
20
devel/shunit2/patches/patch-src_shunit2_test_sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- src/shunit2_test.sh.orig Sat Dec 27 22:09:42 2014
|
||||
+++ src/shunit2_test.sh Sat Dec 27 22:11:45 2014
|
||||
@@ -15,7 +15,7 @@ MY_NAME=`basename $0`
|
||||
MY_PATH=`dirname $0`
|
||||
|
||||
PREFIX='shunit2_test_'
|
||||
-SHELLS='/bin/sh /bin/bash /bin/dash /bin/ksh /bin/pdksh /bin/zsh'
|
||||
+SHELLS='/bin/sh /bin/ksh'
|
||||
TESTS=''
|
||||
for test in ${PREFIX}[a-z]*.sh; do
|
||||
TESTS="${TESTS} ${test}"
|
||||
@@ -107,7 +107,7 @@ for shell in ${shells}; do
|
||||
#
|
||||
EOF
|
||||
|
||||
- SHUNIT_SHELL=${shell} # pass shell onto tests
|
||||
+ export SHUNIT_SHELL=${shell} # pass shell onto tests
|
||||
shell_name=`basename ${shell}`
|
||||
shell_version=`versions_shellVersion "${shell}"`
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue