summaryrefslogtreecommitdiffstats
path: root/tests/run-errors
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/run-errors3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-errors b/tests/run-errors
new file mode 100644
index 0000000..29417cd
--- /dev/null
+++ b/tests/run-errors
@@ -0,0 +1,3 @@
+unset OLDPWD # make sure shell doesn't inherit OLDPWD
+${THIS_SH} ./errors.tests > ${BASH_TSTOUT} 2>&1
+diff ${BASH_TSTOUT} errors.right && rm -f ${BASH_TSTOUT}