From ee236ab8b1eae504ff88389bb7db08778050132a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 17 Mar 2011 02:39:55 +0000 Subject: sort quse output to avoid fs ordering differences --- tests/quse/dotest | 5 ++++- tests/quse/list01.good | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/quse/dotest b/tests/quse/dotest index 9f8bf9b..419e6c1 100755 --- a/tests/quse/dotest +++ b/tests/quse/dotest @@ -68,7 +68,10 @@ diff -u x all.good rm x good all.good # check cross file matches -quse -CD abc > x +# sort because quse order depends on the readdir order +# which depends on the fs itself. quse doesnt do sorting +# because in general, who cares. faster this way. +quse -CD abc | LC_ALL=C sort > x diff -u ../list01.good x rm x diff --git a/tests/quse/list01.good b/tests/quse/list01.good index 1b340f6..5f4c985 100644 --- a/tests/quse/list01.good +++ b/tests/quse/list01.good @@ -1,2 +1,2 @@ - two.desc:abc: pig one.desc:abc: cow + two.desc:abc: pig -- cgit v1.2.3-65-gdbad