Code

Merge "two fixes for fast-import's 'ls' command" from Jonathan
[git.git] / t / t5305-include-tag.sh
index 0db27547ac9aa49c4b06ec371f6e04f5b9a7f16c..b061864a8743636ae7759ff4e8ff2694410617a1 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-test_description='git-pack-object --include-tag'
+test_description='git pack-object --include-tag'
 . ./test-lib.sh
 
 TRASH=`pwd`
@@ -50,7 +50,7 @@ test_expect_success 'check unpacked result (have commit, no tag)' '
                test_must_fail git cat-file -e $tag &&
                git rev-list --objects $commit
        ) >list.actual &&
-       git diff list.expect list.actual
+       test_cmp list.expect list.actual
 '
 
 rm -rf clone.git
@@ -78,7 +78,7 @@ test_expect_success 'check unpacked result (have commit, have tag)' '
                export GIT_DIR &&
                git rev-list --objects $tag
        ) >list.actual &&
-       git diff list.expect list.actual
+       test_cmp list.expect list.actual
 '
 
 test_done