#! /bin/sh
# Do common operations after a particular test.

cd ..
exec 1> /dev/null
exec 2> /dev/null

echo "$out" | sed '$d' >tmp-$$/stdout0
cmp -s tmp-$$/stdout0 tmp-$$/stdout || exit 1

echo "$err" | sed '$d' >tmp-$$/stderr0
cmp -s tmp-$$/stderr0 tmp-$$/stderr || exit 1

rm -rf tmp-$$
