From: Karl Hasselström Date: Sun, 13 Apr 2008 13:38:47 +0000 (+0200) Subject: Fix problems in t1000-branch-create X-Git-Tag: v0.14.3~9 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/c9804555c2eccd3d09b9ae5d18d4e44f5b7475fa?ds=inline;hp=c9804555c2eccd3d09b9ae5d18d4e44f5b7475fa Fix problems in t1000-branch-create There were a number of problems with t1000-branch-create: * It assumed that refs were not packed. I added calls to show-ref to spot any packed refs. * It reused the same name for several consecutive branch creation tests. This causes a domino effect if one of the subtests fail. I made the subtests use different names. * It tried to make sure that we couldn't create a branch if there was a broken ref by the same name. Unfortunately that test fails -- we don't create the branch, but we point HEAD to it. This causes many subsequent operations to fail. I marked this test as a known failure, and added some reset code so that subsequent subtests don't die because of this. Signed-off-by: Karl Hasselström ---