t7800-difftool.sh: Simplify the --extcmd test
commita9e11220c2656cc5d7baac4d0735c04f9be46438
authorDavid Aguilar <davvid@gmail.com>
Fri, 15 Jan 2010 22:03:42 +0000 (15 14:03 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jan 2010 23:04:20 +0000 (15 15:04 -0800)
treeebe45edf125ff699ce725d3b172f405959ed02d0
parent3bdfd44309822d4a2c49d381999ad5cc7e61ed5f
t7800-difftool.sh: Simplify the --extcmd test

Instead of running 'grep', 'echo', and 'wc' we simply compare
git-difftool's output against a known good value.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7800-difftool.sh