From 2b5f6f656fa95d2ffefe7cc1261f4b0fc614f7b8 Mon Sep 17 00:00:00 2001 Message-Id: <2b5f6f656fa95d2ffefe7cc1261f4b0fc614f7b8.1746659676.git.mdw@distorted.org.uk> From: Mark Wooding Date: Mon, 20 Aug 2007 22:36:00 +0100 Subject: [PATCH] Test that all branch config information is renamed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Organization: Straylight/Edgeware From: Karl Hasselström 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 --- t/t1001-branch-rename.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- [mdw]