diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 23:24:54 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 23:55:40 +0000 |
commit | a98d0e0d68a2167e9909ec2da04ebf56c7f97b6f (patch) | |
tree | 6d74f00c3418cd5f2b46fec21e80fb98fb7c05df /tests | |
parent | 3178be82907d7e3c9d49f9dfa7f03c4b4884d867 (diff) |
Test suite: import-nonnative: Test origs with .git directories
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/import-nonnative | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/tests/import-nonnative b/tests/tests/import-nonnative index 838731a..244077e 100755 --- a/tests/tests/import-nonnative +++ b/tests/tests/import-nonnative @@ -66,7 +66,7 @@ chk2() { ') perl -i~ -pe ' s#^\Q'"$pfx"'\E##; - $_="" if m/^$/ || m#/$#; + $_="" if m/^$/ || m#/$# || m#^\.git/#; ' ../files.o orig=${orig#../} pat="^Import ${orig//./\\.}\$" @@ -129,4 +129,10 @@ mangle1 example 1.0-1 tar zvcf ../$orig . mangle2 +# 3.0 (quilt), multiple patches, tarbomb orig with dot and .git +mangle1 example 1.0-1 +git init +tar zvcf ../$orig . +mangle2 + echo done. |