chiark / gitweb /
Test that all branch config information is renamed
[stgit] / t / t1001-branch-rename.sh
index 28da15ceffe932efe3c87c2aae5c27adc41f5834..28af8ae738da1ce848034a778552f8dfdd861a38 100755 (executable)
@@ -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