t5004: avoid using tar for checking emptiness of archive
[git/mjg.git] / t / t9135-git-svn-moved-branch-empty-file.sh
blob5280e5f1e405f2a93620b496c64e85e73181f13a
1 #!/bin/sh
3 test_description='test moved svn branch with missing empty files'
5 . ./lib-git-svn.sh
6 test_expect_success 'load svn dumpfile' '
7 svnadmin load "$rawsvnrepo" < "${TEST_DIRECTORY}/t9135/svn.dump"
10 test_expect_success 'clone using git svn' 'git svn clone -s "$svnrepo" x'
12 test_expect_success 'test that b1 exists and is empty' '
14 cd x &&
15 git reset --hard branch-c &&
16 test -f b1 &&
17 ! test -s b1
21 test_done