summaryrefslogtreecommitdiff
path: root/tests/run-func
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-func')
-rw-r--r--tests/run-func5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-func b/tests/run-func
new file mode 100644
index 0000000..f449eb8
--- /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 > /tmp/xx 2>&1
+diff /tmp/xx func.right && rm -f /tmp/xx