{"thread":{"id":"32301","subject":"[PATCH 7/8] t9402: Rename check.cvsCount and check.list","startedAt":"2012-12-08T21:35:39Z","lastAt":"2012-12-08T21:35:39Z","messageCount":1,"participants":["Torsten Bögershausen"],"isPatch":true,"patchVersion":1,"patchTotal":8},"messages":[{"id":"204616","messageId":"201212082235.40520.tboegi@web.de","threadId":"32301","inReplyTo":null,"subject":"[PATCH 7/8] t9402: Rename check.cvsCount and check.list","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2012-12-08T21:35:39Z","receivedAt":"2012-12-08T21:35:39Z","isPatch":true,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"Checking and comparing the number of line in check.list and check.cvsCount\nhad been replaced by comparing both files line by line.\nRename the filenames to make clear which is expected and which is actual:\ncheck.list    -> list.expected\ncheck.cvsCount-> list.actual\n\nSigned-off-by: Torsten Bögershausen <tboegi@web.de>\n---\n t/t9402-git-cvsserver-refs.sh | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)\n\ndiff --git a/t/t9402-git-cvsserver-refs.sh b/t/t9402-git-cvsserver-refs.sh\nindex fadc80a..8dc4848 100755\n--- a/t/t9402-git-cvsserver-refs.sh\n+++ b/t/t9402-git-cvsserver-refs.sh\n@@ -10,7 +10,7 @@ tags, branches and other git refspecs'\n #########\n \n check_start_tree() {\n-    rm -f \"$WORKDIR/check.list\"\n+    rm -f \"$WORKDIR/list.expected\"\n     echo \"start $1\" >>\"${WORKDIR}/check.log\"\n }\n \n@@ -23,22 +23,22 @@ check_file() {\n     test_cmp \"$WORKDIR/check.got\" \"$sandbox/$file\"\n     stat=$?\n     echo \"check_file $sandbox $file $ver : $stat\" >>\"$WORKDIR/check.log\"\n-    echo \"$file\" >>\"$WORKDIR/check.list\"\n+    echo \"$file\" >>\"$WORKDIR/list.expected\"\n     return $stat\n }\n \n check_end_tree() {\n     sandbox=\"$1\" &&\n-    find \"$sandbox\" -name CVS -prune -o -type f -print >\"$WORKDIR/check.cvsCount\" &&\n-\t\tsort <\"$WORKDIR/check.list\" >expected &&\n-\t\tsort <\"$WORKDIR/check.cvsCount\" | sed -e \"s%cvswork/%%\" >actual &&\n+    find \"$sandbox\" -name CVS -prune -o -type f -print >\"$WORKDIR/list.actual\" &&\n+\t\tsort <\"$WORKDIR/list.expected\" >expected &&\n+\t\tsort <\"$WORKDIR/list.actual\" | sed -e \"s%cvswork/%%\" >actual &&\n     test_cmp expected actual &&\n \t\trm expected actual\n }\n \n check_end_full_tree() {\n     sandbox=\"$1\" &&\n-    sort <\"$WORKDIR/check.list\" >expected &&\n+    sort <\"$WORKDIR/list.expected\" >expected &&\n     find \"$sandbox\" -name CVS -prune -o -type f -print | sed -e \"s%$sandbox/%%\" | sort >act1 &&\n \t\ttest_cmp expected act1 &&\n     git ls-tree --name-only -r \"$2\" | sort >act2 &&\n-- \n1.8.0.197.g5a90748\n"}]}