summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@clusterfs.com>2001-08-04 02:23:14 -0600
committerAndreas Dilger <adilger@clusterfs.com>2001-08-04 02:23:14 -0600
commit888b29d14b314eb150b0de010c63c0520cc53f87 (patch)
treeb264cd4f7cd5edf117a5d6167a37a0bb6b3b2f64 /tests
parentbd512b6868fd6f381c4377bab0f2aeebbe41c54b (diff)
downloade2fsprogs-888b29d14b314eb150b0de010c63c0520cc53f87.tar.gz
Ignore .failed and .new files when running e2fsck tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_script.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_script.in b/tests/test_script.in
index 4971afd9..f53ea460 100644
--- a/tests/test_script.in
+++ b/tests/test_script.in
@@ -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