Merge branch 'jk/mailmap-from-blob'
[git/gitweb.git] / t / t9153-git-svn-rewrite-uuid.sh
blob88a2cfa233e54e405956303ca67b807192b16465
1 #!/bin/sh
3 # Copyright (c) 2010 Jay Soffian
6 test_description='git svn --rewrite-uuid test'
8 . ./lib-git-svn.sh
10 uuid=6cc8ada4-5932-4b4a-8242-3534ed8a3232
12 test_expect_success 'load svn repo' "
13 svnadmin load -q '$rawsvnrepo' < '$TEST_DIRECTORY/t9153/svn.dump' &&
14 git svn init --minimize-url --rewrite-uuid='$uuid' '$svnrepo' &&
15 git svn fetch
18 test_expect_success 'verify uuid' "
19 git cat-file commit refs/remotes/git-svn~0 | \
20 grep '^${git_svn_id}: .*@2 $uuid$' &&
21 git cat-file commit refs/remotes/git-svn~1 | \
22 grep '^${git_svn_id}: .*@1 $uuid$'
25 test_done