X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fd250083492420769109b2d07790e8c695a2e2ed..af37e7c921540be0a53a0b6999f3d1cc95cc7527:/test/sequences/test-flist?ds=sidebyside diff --git a/test/sequences/test-flist b/test/sequences/test-flist index b8970377..bd7df8ef 100755 --- a/test/sequences/test-flist +++ b/test/sequences/test-flist @@ -16,6 +16,18 @@ fi setup_test +check_exit '-eq 1' flist - +check_exit '-eq 1' flist -xyzzy +check_exit '-eq 0' flist -help +check_exit '-eq 0' flist -version +check_exit '-eq 1' flist -sequence +check_exit '-eq 1' flist -all -noall -showzero -noshowzero \ + -recurse -norecurse -total - +x=tendixzehn +l=$x$x$x$x$x +c=$l$l +check_exit '-eq 1' flist `echo $c | sed 's/./& /g'` 101 - + run_test 'mark 1 3 5 7 9 +inbox -sequence odd' '' run_test 'mark -s odd -list' 'odd: 1 3 5 7 9' run_test 'mark +inbox -sequence unseen all' '' @@ -53,7 +65,7 @@ other+ has 4 in sequence unseen; out of 4 other+ has 0 in sequence odd ; out of 4' # Test Flist-Order with -noalpha. -echo 'Flist-Order: o* i*' >> $MH_TEST_DIR/Mail/.mh_profile +echo 'Flist-Order: o* i*' >> "$MH" run_test 'flists -seq unseen -seq odd -noalpha' \ 'other+ has 4 in sequence unseen; out of 4 other+ has 0 in sequence odd ; out of 4