Ignore .failed and .new files when running e2fsck tests.

This commit is contained in:
Andreas Dilger 2001-08-04 02:23:14 -06:00
parent bd512b6868
commit 888b29d14b

View File

@ -4,12 +4,13 @@
#
if test "$1"x = x ; then
TESTS=$SRCDIR/[a-zA-Z]_*
TESTS=`ls -d $SRCDIR/[a-zA-Z]_* | egrep -v "\.failed|\.new"`
else
TESTS=
for i
do
case $i in
*.failed|*.new) continue ;;
[a-zA-Z]) TESTS="$TESTS $SRCDIR/${i}_*" ;;
*) TESTS="$TESTS $SRCDIR/$i" ;;
esac