[StGIT PATCH 1/2] Test that all branch config information is renamed
- From
Karl Hasselström <kha@treskal.com>
- Date
- Aug 8, 2007, 22:56 UTC
- Message-ID
- <20070808225635.17114.27216.stgit@yoghurt>
- In-Reply-To
- <20070808225522.17114.3065.stgit@yoghurt>
This test currently fails (which is precisely why it's needed, of course.) This is bug 9692 in the bug tracker.
Signed-off-by: Karl Hasselström <kha@treskal.com>
---
t/t1001-branch-rename.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/t/t1001-branch-rename.sh b/t/t1001-branch-rename.sh index 28da15c..28af8ae 100755 --- a/t/t1001-branch-rename.sh +++ b/t/t1001-branch-rename.sh @@ -26,7 +26,8 @@ test_expect_success \ 'Rename an stgit branch' \ 'stg branch -c buz && stg branch -r foo bar && - test -z `find .git -name foo | tee /dev/stderr` + test -z `find .git -name foo | tee /dev/stderr` && + test -z $(git config -l | grep branch\\.foo) ' test_done