diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 17:37:57 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-07 13:55:47 +0100 |
commit | 79614812a546bd31fcd5cae0d6c1ed0db47b5f83 (patch) | |
tree | 175dec827040bb95ac1a3de01b73c45df0f55437 /tests/lib | |
parent | 3f112ef280d8d10152089fcae772f5edd707817c (diff) |
Test suite: Move t-reporefs into lib
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -52,6 +52,14 @@ t-expect-fail () { egrep "$mpat" $tmp/t.output ||false } +t-reporefs () { + (set -e + if test -d $tmp/git/$p.git; then + cd $tmp/git/$p.git + git show-ref |sort + fi) +} + t-untar () { local tarfile=$1.tar local edittree=$1.edit |