~ubuntu-branches/ubuntu/gutsy/git-core/gutsy-updates

« back to all changes in this revision

Viewing changes to t/t1300-repo-config.sh

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-05-30 12:38:45 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20070530123845-mhso4051d7vx1189
Tags: 1:1.5.2-1
* merge branch debian-experimental.
* new upstream release.
  * gitweb: choose appropriate view for file type if a= parameter missing
    (closes: #410465).
  * git fetch -q is supported (closes: #423165).
* /usr/bin/git transition (thx Ian Beckwith!).
  * debian/git-core.preinst: new; remove /usr/bin/git alternative if
    upgrading from versions older than 1:1.5.2~rc3-2.
  * debian/git-core.prerm, debian/git-core.postinst: remove; no longer
    handle /usr/bin/git alternative through update-alternatives.
  * debian/rules: no longer install git program as git-scm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
407
407
test_expect_success "section was removed properly" \
408
408
        "git diff -u expect .git/config"
409
409
 
 
410
rm .git/config
 
411
 
 
412
cat > expect << EOF
 
413
[gitcvs]
 
414
        enabled = true
 
415
        dbname = %Ggitcvs2.%a.%m.sqlite
 
416
[gitcvs "ext"]
 
417
        dbname = %Ggitcvs1.%a.%m.sqlite
 
418
EOF
 
419
 
 
420
test_expect_success 'section ending' '
 
421
 
 
422
        git-config gitcvs.enabled true &&
 
423
        git-config gitcvs.ext.dbname %Ggitcvs1.%a.%m.sqlite &&
 
424
        git-config gitcvs.dbname %Ggitcvs2.%a.%m.sqlite &&
 
425
        cmp .git/config expect
 
426
 
 
427
'
 
428
 
410
429
test_expect_success numbers '
411
430
 
412
431
        git-config kilo.gram 1k &&