Added feature to allow remaining tests to be written to file

Merge of master-melb:xfs-cmds:26253a by kenmcd.

  Added feature to allow remaining tests to be written to file
This commit is contained in:
Allan Randall
2006-06-15 04:03:28 +00:00
parent 84a947f6cb
commit b698d3d581
+8
View File
@@ -167,10 +167,18 @@ fi
seq="check"
_check_test_fs
[ -n "$TESTS_REMAINING_LOG" ] && echo $list > $TESTS_REMAINING_LOG
for seq in $list
do
err=false
echo -n "$seq"
if [ -n "$TESTS_REMAINING_LOG" ] ; then
sed -e "s/$seq//" -e 's/ / /' -e 's/^ *//' $TESTS_REMAINING_LOG > $TESTS_REMAINING_LOG.tmp
mv $TESTS_REMAINING_LOG.tmp $TESTS_REMAINING_LOG
sync
fi
if $showme
then
echo