blob: 93db45db7d69e460d7005815c19ccc63e916e50c [file] [log] [blame]
Anton Gyllenberg39111f62009-02-11 00:38:45 +02001#!/bin/sh
2
3test_description='test moved svn branch with missing empty files'
4
5. ./lib-git-svn.sh
6test_expect_success 'load svn dumpfile' '
7 svnadmin load "$rawsvnrepo" < "${TEST_DIRECTORY}/t9135/svn.dump"
8 '
9
10test_expect_success 'clone using git svn' 'git svn clone -s "$svnrepo" x'
11
12test_expect_success 'test that b1 exists and is empty' '
Eric Wongb186a262009-08-12 16:01:59 -070013 (
14 cd x &&
Johan Herlandfe191fc2013-10-11 14:57:07 +020015 git reset --hard origin/branch-c &&
Eric Wongb186a262009-08-12 16:01:59 -070016 test -f b1 &&
17 ! test -s b1
18 )
Anton Gyllenberg39111f62009-02-11 00:38:45 +020019 '
20
21test_done