t/t3905: use the name 'actual' for test output, swap arguments to test_cmp
commit4fd731240980f0f4b4565abe9092bd3d08d650e3
authorBrandon Casey <drafnel@gmail.com>
Sat, 27 Aug 2011 00:59:24 +0000 (26 19:59 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Aug 2011 18:12:08 +0000 (27 11:12 -0700)
treea04a14e3c20b9b1656ea2f9e1948f83644538663
parent787513027a7d0af3c2cd2f04b85bc7136d580586
t/t3905: use the name 'actual' for test output, swap arguments to test_cmp

It is common practice in the git test suite to use the file names 'actual'
and 'expect' to hold the actual and expected output of commands.  So change
the name 'output' to 'actual'.

Additionally, swap the order of arguments to test_cmp when comparing
expected output and actual output so that if diff output is produced, it
describes how the actual output differs from what was expected rather than
the other way around.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3905-stash-include-untracked.sh