diff options
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -53,8 +53,11 @@ t-expect-fail () { } t-reporefs () { + local whichoutput=$1; shift + local outputfile="$tmp/show-refs.$whichoutput" (set -e - if test -d $tmp/git/$p.git; then + exec >"$outputfile" + if test -d $tmp/git/$p.git; then cd $tmp/git/$p.git git show-ref |sort fi) |