File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -259,4 +259,20 @@ test_expect_success 'cope with tagger-less tags' '
259
259
260
260
'
261
261
262
+ test_expect_success ' set-up a few more tags for tag export tests' '
263
+ git checkout -f master &&
264
+ HEAD_TREE=`git show -s --pretty=raw HEAD | grep tree | sed "s/tree //"` &&
265
+ git tag tree_tag -m "tagging a tree" $HEAD_TREE &&
266
+ git tag -a tree_tag-obj -m "tagging a tree" $HEAD_TREE &&
267
+ git tag tag-obj_tag -m "tagging a tag" tree_tag-obj &&
268
+ git tag -a tag-obj_tag-obj -m "tagging a tag" tree_tag-obj
269
+ '
270
+
271
+ # NEEDSWORK: not just check return status, but validate the output
272
+ # two tests commented out due to crash and thus unreliable return code
273
+ test_expect_failure ' tree_tag' ' git fast-export tree_tag'
274
+ test_expect_failure ' tree_tag-obj' ' git fast-export tree_tag-obj'
275
+ test_expect_failure ' tag-obj_tag' ' git fast-export tag-obj_tag'
276
+ test_expect_failure ' tag-obj_tag-obj' ' git fast-export tag-obj_tag-obj'
277
+
262
278
test_done
You can’t perform that action at this time.
0 commit comments