From 1c4223889bd729ee83aa21a3450dc28f92ade641 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Tue, 2 Sep 2014 15:52:56 -0700 Subject: Fix test output for `complete -e` tests GNU sort behaves stupidly when LC_ALL is not C. This caused the test output to be sorted wrong. --- tests/test.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test.fish') diff --git a/tests/test.fish b/tests/test.fish index 7573b400..2f2b8533 100755 --- a/tests/test.fish +++ b/tests/test.fish @@ -61,14 +61,14 @@ for i in *.in else set res fail echo Output differs for file $i. Diff follows: - diff tmp.out $template_out + diff -u tmp.out $template_out end if diff tmp.err $template_err >/dev/null else set res fail echo Error output differs for file $i. Diff follows: - diff tmp.err $template_err + diff -u tmp.err $template_err end if test (cat tmp.status) = (cat $template_status) -- cgit v1.2.3