From: Eric S. Raymond Date: Thu, 13 Nov 2014 15:11:02 +0000 (-0500) Subject: Test for branch name resolution. X-Git-Tag: 0.8~18 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=68c829054009010f1d83af10096f19c14c69295f;p=src.git Test for branch name resolution. --- diff --git a/srctest b/srctest index 673ff1a..3cf858d 100755 --- a/srctest +++ b/srctest @@ -453,6 +453,33 @@ src $TESTOPTS tag -l sample >tryit diff -u tryit changes check "tag list after rename" +cat >branchlist <tryit +check "branch list" + +src $TESTOPTS branch -l sample >tryit +diff -u tryit branchlist +check "branch list content" + +cat >branchlog <branchlog +check "branch name resolution" + +src $TESTOPTS list @trunk sample >tryit +diff -u tryit branchlog +check "branch name resolved content" + + rm -fr $SANDBOX # end