diff options
-rw-r--r-- | tests/ChangeLog | 3 | ||||
-rw-r--r-- | tests/Makefile.in | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 7de19f86..b21ea95a 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,8 @@ 2006-11-11 Theodore Tso <tytso@mit.edu> + * Makefile.in (check-failed): New target which automatically + re-runs any failed tests + * f_badinode, f_bad_disconnected_inode: Update expect scripts to show check for i_blocks_hi instead of i_frag and i_fsize. diff --git a/tests/Makefile.in b/tests/Makefile.in index 43acc785..f9d5d781 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -28,6 +28,15 @@ check:: test_script @echo " " @./test_script +check-failed: + @a=`/bin/ls *.failed 2> /dev/null | sed -e 's/.failed//'`; \ + if test "$$a"x == x ; then \ + echo "No failed tests" ; \ + else \ + ./test_script $$a ; \ + fi + + TDIR=f_testnew # Target which creates a new testcase to simplify adding new regression tests. testnew: |