tests/histedit-helpers.sh
author Gregory Szorc <gregory.szorc@gmail.com>
Sun, 20 Apr 2014 12:19:48 -0700
changeset 21434 a264fca9181b
parent 17085 35729bdd59b6
child 27350 890273343170
permissions -rw-r--r--
run-tests: teach Test instances whether they are in unittest mode Tests executing in unittest mode behave a little differently. For example, they report their results to a TestResult rather than just printing. This patch paves the way for better integration of Test into the unittest framework.

fixbundle() {
    grep -v 'saving bundle' | grep -v 'saved backup' | \
        grep -v added | grep -v adding | \
        grep -v "unable to find 'e' for patching" | \
        grep -v "e: No such file or directory"
}