]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/lib-cvs.sh
The eighth batch
[thirdparty/git.git] / t / lib-cvs.sh
index 32b34733790834362612816eb5eac63cc6acdf33..57b9b2db9b3f8244dfec5a6cf5b6dc6a6dcb1138 100644 (file)
@@ -71,8 +71,8 @@ test_cmp_branch_tree () {
                find . -type d -name .git -prune -o -type f -print
        ) | sort >module-git-"$1".list &&
        test_cmp module-cvs-"$1".list module-git-"$1".list &&
-       cat module-cvs-"$1".list | while read f
+       while read f
        do
                test_cmp_branch_file "$1" "$f" || return 1
-       done
+       done <module-cvs-"$1".list
 }