2 # remove all intermediate files from tests
4 SCRIPT_DIR=$(dirname $(readlink -f "$0"))
5 TOP=$(readlink -f "$SCRIPT_DIR/../")
6 source "$TOP/tests/common"
10 if [ "$BUILD_VERBOSE" = 1 ]; then
14 $SUDO_HELPER umount "$TEST_MNT" &>/dev/null
16 if ! cd "$TOP/tests"; then
17 echo "ERROR: cannot cd to $TOP/tests"
21 find fsck-tests -type f -name '*.restored' $verbose -delete
23 # do not remove, the file could have special permissions set