From: Allan Randall Date: Thu, 15 Jun 2006 04:03:28 +0000 (+0000) Subject: Added feature to allow remaining tests to be written to file X-Git-Tag: v1.1.0~635 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b698d3d581db918a73e8be18b60b2903671ea841;p=xfstests-dev.git 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 --- diff --git a/check b/check index d18b7675..c44b5290 100755 --- a/check +++ b/check @@ -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