Adam Roben schrieb:
+ test_expect_success \ + "$type exists" \ + "git cat-file -e $hello_sha1"
You mean $sha1 here, right?
+ test_expect_success \ + "Type of $type is correct" \ + "test $type = \"$(git cat-file -t $sha1)\""
This should escape the $(...) in all the tests. Like this: "test $type = \"\$(git cat-file -t $sha1)\""
+test_expect_success \ + "Reach a blob from a tag pointing to it" \ + "test \"$hello_content\" = \"$(git cat-file blob $tag_sha1)\""
And use single quotes without escaping the double-quotes here. -- Hannes - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html