illumos-port-bash/tests/run-errors

4 lines
159 B
Plaintext

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}