diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-06 00:14:16 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-06 17:02:47 -0700 |
commit | 60d02ccc18408e54ace8692532fcc73d4035b3c2 (patch) | |
tree | 9a1b0168d492f19c35aa6aaa6d6c3ddd23d907eb /contrib/git-svn/t/t0004-follow-parent.sh | |
parent | c31cfb3db3decf36874273a97f54f3d597e98efe (diff) | |
download | git-60d02ccc18408e54ace8692532fcc73d4035b3c2.tar.gz |
git-svn: migrate out of contrib
Allow NO_SVN_TESTS to be defined to skip git-svn tests. These
tests are time-consuming due to SVN being slow, and even more so
if SVN Perl libraries are not available.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib/git-svn/t/t0004-follow-parent.sh')
-rw-r--r-- | contrib/git-svn/t/t0004-follow-parent.sh | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/contrib/git-svn/t/t0004-follow-parent.sh b/contrib/git-svn/t/t0004-follow-parent.sh deleted file mode 100644 index 01488ff78a..0000000000 --- a/contrib/git-svn/t/t0004-follow-parent.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2006 Eric Wong -# - -test_description='git-svn --follow-parent fetching' -. ./lib-git-svn.sh - -if test -n "$GIT_SVN_NO_LIB" && test "$GIT_SVN_NO_LIB" -ne 0 -then - echo 'Skipping: --follow-parent needs SVN libraries' - test_done - exit 0 -fi - -test_expect_success 'initialize repo' " - mkdir import && - cd import && - mkdir -p trunk && - echo hello > trunk/readme && - svn import -m 'initial' . $svnrepo && - cd .. && - svn co $svnrepo wc && - cd wc && - echo world >> trunk/readme && - svn commit -m 'another commit' && - svn up && - svn mv -m 'rename to thunk' trunk thunk && - svn up && - echo goodbye >> thunk/readme && - svn commit -m 'bye now' && - cd .. - " - -test_expect_success 'init and fetch --follow-parent a moved directory' " - git-svn init -i thunk $svnrepo/thunk && - git-svn fetch --follow-parent -i thunk && - git-rev-parse --verify refs/remotes/trunk && - test '$?' -eq '0' - " - -test_debug 'gitk --all &' - -test_done |