Files
tar/tests/after
Paul Eggert 27cd5655e5 GNU tar 1.12
1997-04-24 23:33:59 +00:00

10 lines
240 B
Bash
Executable File

#! /bin/sh
# Do common operations after a particular test.
cd ..
exec 1> /dev/null
exec 2> /dev/null
echo $echo_n "$out$echo_c" | cmp -s - tmp-$$/stdout || exit 1
echo $echo_n "$err$echo_c" | cmp -s - tmp-$$/stderr || exit 1
rm -rf tmp-$$