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 if test "$1"x = x ; then
TESTS=$SRCDIR/[a-zA-Z]_* TESTS=`ls -d $SRCDIR/[a-zA-Z]_* | egrep -v "\.failed|\.new"`
else else
TESTS= TESTS=
for i for i
do do
case $i in case $i in
*.failed|*.new) continue ;;
[a-zA-Z]) TESTS="$TESTS $SRCDIR/${i}_*" ;; [a-zA-Z]) TESTS="$TESTS $SRCDIR/${i}_*" ;;
*) TESTS="$TESTS $SRCDIR/$i" ;; *) TESTS="$TESTS $SRCDIR/$i" ;;
esac esac