mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 06:32:57 +00:00
b51cc1d325
Signed-off-by: David Sterba <dsterba@suse.cz>
20 lines
401 B
Bash
Executable File
20 lines
401 B
Bash
Executable File
#!/bin/sh
|
|
# remove all intermediate files from tests
|
|
|
|
if [ "$BUILD_VERBOSE" = 1 ]; then
|
|
verbose=-print
|
|
fi
|
|
|
|
SCRIPT_DIR=$(dirname $(readlink -f $0))
|
|
TOP=$(readlink -f $SCRIPT_DIR/../)
|
|
|
|
if ! cd $TOP/tests; then
|
|
echo "ERROR: cannot cd to $TOP/tests"
|
|
exit 1
|
|
fi
|
|
|
|
find fsck-tests -type f -name '*.restored' $verbose -delete
|
|
|
|
# do not remove, the file could have special permissions set
|
|
echo -n > test.img
|