File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ test_expect_success 'Apply a patch and edit message' '
48
48
stg delete ..
49
49
'
50
50
51
- test_expect_success ' Apply a patch from a URL' '
51
+ test_expect_success ! MINGW ' Apply a patch from a URL' '
52
52
stg import -u "file://$TEST_DIRECTORY/t1800/git-diff" &&
53
53
[ $(git cat-file -p $(stg id) \
54
54
| grep -c "tree e96b1fba2160890ff600b675d7140d46b022b155") = 1 ] &&
@@ -140,12 +140,18 @@ test_expect_success 'Apply a series from a tarball' '
140
140
stg delete ..
141
141
'
142
142
143
- test_expect_success ' Apply a series from a tarball url' '
143
+ test_expect_success ! MINGW ' Apply a series from a tarball url' '
144
144
stg import --url --series "file://$(pwd)/jabberwocky.tar.bz2" &&
145
145
[ $(git cat-file -p $(stg id) \
146
146
| grep -c "tree 2c33937252a21f1550c0bf21f1de534b68f69635") = 1 ]
147
147
'
148
148
149
+ test_expect_success MINGW ' Apply a series from a abs tarball path' '
150
+ stg import --series "$(pwd)/jabberwocky.tar.bz2" &&
151
+ [ $(git cat-file -p $(stg id) \
152
+ | grep -c "tree 2c33937252a21f1550c0bf21f1de534b68f69635") = 1 ]
153
+ '
154
+
149
155
test_expect_success ' Import with author options' '
150
156
stg show | grep -e "Author: Clark Williams <[email protected] >" &&
151
157
stg delete --top --spill &&
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ test_expect_success 'Apply a patch from an 8bit-encoded e-mail' '
21
21
stg delete ..
22
22
'
23
23
24
- test_expect_success ' Apply a patch from an 8bit-encoded e-mail url' '
24
+ test_expect_success ! MINGW ' Apply a patch from an 8bit-encoded e-mail url' '
25
25
stg import -u -m "file://$TEST_DIRECTORY"/t1801/email-8bit &&
26
26
[ $(git cat-file -p $(stg id) \
27
27
| grep -c "tree 030be42660323ff2a1958f9ee79589a4f3fbee2f") = 1 ] &&
@@ -118,7 +118,7 @@ test_expect_success 'Apply several patches from an mbox file' '
118
118
stg delete ..
119
119
'
120
120
121
- test_expect_success ' Apply several patches from an mbox url' '
121
+ test_expect_success ! MINGW ' Apply several patches from an mbox url' '
122
122
test_config stgit.import.message-id "yes" &&
123
123
stg import -u -M "file://$TEST_DIRECTORY"/t1801/email-mbox &&
124
124
[ $(git cat-file -p $(stg id change-1) \
You can’t perform that action at this time.
0 commit comments