view tests/histedit-helpers.sh @ 28444:12fdf49fa4dd

hook: filter out unstable output in tests This output is different between Python 2.6 and Python 2.7. It's also pretty irrelevant, so just filter it out.
author Siddharth Agarwal <sid0@fb.com>
date Thu, 10 Mar 2016 10:12:23 -0800
parents 890273343170
children
line wrap: on
line source

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" | \
    cat
}