aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test.fish
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-02 15:52:56 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-02 15:52:56 -0700
commit1c4223889bd729ee83aa21a3450dc28f92ade641 (patch)
treed78d920b8e898b65c27be49e4f3b785cbb999cbb /tests/test.fish
parent90a4fd34d23e76b7934b040db3628d7884040267 (diff)
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.
Diffstat (limited to 'tests/test.fish')
-rwxr-xr-xtests/test.fish4
1 files changed, 2 insertions, 2 deletions
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)