X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=t%2Ft0005-man.sh;h=ee1949c05a04d4fd4b81f2b9c847a403a753e2f5;hp=ad9fa4c79090f926a401d347c8e8414cea30fbf4;hb=3685a9093ae12ff9ce02fc58e607eb9b63894443;hpb=fc8dfbb416ff07cca08fbf4e13efcaa25e17cc54 diff --git a/t/t0005-man.sh b/t/t0005-man.sh index ad9fa4c7..ee1949c0 100755 --- a/t/t0005-man.sh +++ b/t/t0005-man.sh @@ -13,8 +13,6 @@ filter/receiver/writer options as appropriate ' . ${0%/*}/test-lib.sh -rfw_regex='Options for .\{100,\}Options for ' # recv/filter/writer - grep_man() { local regex="$1" exe="$2" @@ -24,10 +22,9 @@ grep_man() # check that options of all reveivers/filters/writers are contained # in the man pages -regex="$rfw_regex" test_expect_success 'para_recv: receiver options' "grep_man 'RECEIVERS' recv" -test_expect_success 'para_filter: filter options' "grep_man '$regex' filter" -test_expect_success 'para_write: writer options' "grep_man '$regex' write" +test_expect_success 'para_filter: filter options' "grep_man 'FILTERS' filter" +test_expect_success 'para_write: writer options' "grep_man 'WRITERS' write" test_require_objects "audiod" if [[ -n "$result" ]]; then test_skip 'para_audiod' "missing object(s): $result" @@ -35,9 +32,9 @@ else test_expect_success 'para_audiod: receivers' \ "grep_man 'RECEIVERS' audiod" test_expect_success 'para_audiod: filters' \ - "grep_man 'Options for the compress filter' audiod" + "grep_man 'FILTERS' audiod" test_expect_success 'para_audiod: writers' \ - "grep_man 'Options for the file writer' audiod" + "grep_man 'WRITERS' audiod" fi # check various command lists