X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..4d19fdc6dedc121c6ef63bd646dc50d64a18f45d:/test/folder/test-sortm?ds=sidebyside diff --git a/test/folder/test-sortm b/test/folder/test-sortm index ac0f8421..eef5c8a5 100755 --- a/test/folder/test-sortm +++ b/test/folder/test-sortm @@ -84,7 +84,7 @@ cat >"$expected" <"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check +folder @@ -105,7 +105,7 @@ EOF refile first +inbox; folder -pack >/dev/null run_prog sortm +inbox -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -verbose @@ -139,7 +139,7 @@ EOF refile first +inbox; folder -pack >/dev/null run_prog sortm -verbose >"$actual" -scan >>"$actual" +scan -width 80 >>"$actual" check "$expected" "$actual" # check -noverbose @@ -160,7 +160,7 @@ EOF refile first +inbox; folder -pack >/dev/null run_prog sortm -verbose -noverbose >"$actual" -scan >>"$actual" +scan -width 80 >>"$actual" check "$expected" "$actual" # check msgs @@ -181,7 +181,7 @@ EOF refile first +inbox; folder -pack >/dev/null run_prog sortm first last -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -datefield @@ -201,7 +201,7 @@ cat >"$expected" <"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -textfield subject (datefield major, subjects grouped) @@ -221,7 +221,7 @@ cat >"$expected" <"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -nolimit @@ -241,7 +241,7 @@ cat >"$expected" <"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -textfield subject -limit 0 (subject sort) @@ -262,7 +262,7 @@ EOF refile 2-7 +inbox; refile 1 +inbox; folder -pack last >/dev/null run_prog sortm -textfield subject -limit 0 -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -textfield -limit 0 (text sort) @@ -283,7 +283,7 @@ EOF refile 2-7 +inbox; refile 1 +inbox; folder -pack last >/dev/null run_prog sortm -textfield from -limit 0 -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -textfield with finite -limit that doesn't cover message 13 @@ -314,7 +314,7 @@ EOF refile 2-7 +inbox; refile 1 +inbox; folder -pack last >/dev/null run_prog sortm -textfield subject -limit 10 -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -textfield with finite -limit that does cover message 13 @@ -336,7 +336,7 @@ EOF refile 2-7 +inbox; refile 1 +inbox; folder -pack last >/dev/null run_prog sortm -textfield subject -limit 60 -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -notextfield @@ -358,7 +358,7 @@ EOF refile 2-7 +inbox; refile 1 +inbox; folder -pack last >/dev/null run_prog sortm -textfield subject -limit 60 -notextfield -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -noall @@ -383,7 +383,7 @@ EOF refile first +inbox; folder -pack >/dev/null run_prog sortm -noall -all -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -check @@ -414,7 +414,7 @@ cat >"$expected" <> 14 01/00 Test9 Testing message 9<> EOF -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual" # check -nocheck @@ -439,7 +439,7 @@ sed -e 's/Sep//' $MH_TEST_DIR/Mail/inbox/7 > $MH_TEST_DIR/Mail/inbox/14 run_test 'sortm -check -nocheck' \ "sortm: can't parse date field in message 14, will use file \ modification time" -scan >"$actual" +scan -width 80 >"$actual" check "$expected" "$actual"