X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9300-fast-import.sh;h=0f5b5e5964a60f31cdfd6bc456848c2f4b820d0a;hb=5087aace2d5467046c7204e038009b30fdebbca6;hp=438aaf6b14b8ae0cb35739d6006eaf646876107c;hpb=3ecd0c8b4d9e245e255aa4c061d6a474eb571298;p=git.git diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 438aaf6b1..0f5b5e596 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -1306,6 +1306,45 @@ test_expect_success \ M 040000 $subdir file3/ INPUT_END' +test_expect_success \ + 'N: reject foo/ syntax in copy source' \ + 'test_must_fail git fast-import <<-INPUT_END + commit refs/heads/N5C + committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE + data < $GIT_COMMITTER_DATE + data < $GIT_COMMITTER_DATE + data <expect.foo &&