diff options
Diffstat (limited to 'tests/run-func')
-rw-r--r-- | tests/run-func | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-func b/tests/run-func new file mode 100644 index 0000000..a804364 --- /dev/null +++ b/tests/run-func @@ -0,0 +1,5 @@ +echo "warning: if you have exported functions defined in your environment," >&2 +echo "warning: they may show up as diff output." >&2 +echo "warning: if so, please do not consider this a test failure" >&2 +${THIS_SH} ./func.tests > ${BASH_TSTOUT} 2>&1 +diff ${BASH_TSTOUT} func.right && rm -f ${BASH_TSTOUT} |