X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/19134112bf942c0492f2095b668ea31c1a498f1a..181b6e789b79fc385e5ec75b2b83f01192d54051:/tests/t0101-index.sh diff --git a/tests/t0101-index.sh b/tests/t0101-index.sh index 59edc59..573a351 100755 --- a/tests/t0101-index.sh +++ b/tests/t0101-index.sh @@ -9,7 +9,10 @@ run_test 'find foo repo' 'grep -e "foo" trash/tmp' run_test 'find foo description' 'grep -e "\[no description\]" trash/tmp' run_test 'find bar repo' 'grep -e "bar" trash/tmp' run_test 'find bar description' 'grep -e "the bar repo" trash/tmp' -run_test 'no tree-link' 'grep -ve "foo/tree" trash/tmp' -run_test 'no log-link' 'grep -ve "foo/log" trash/tmp' +run_test 'find foo+bar repo' 'grep -e ">foo+bar<" trash/tmp' +run_test 'verify foo+bar link' 'grep -e "/foo+bar/" trash/tmp' +run_test 'verify "with%20space" link' 'grep -e "/with%20space/" trash/tmp' +run_test 'no tree-link' '! grep -e "foo/tree" trash/tmp' +run_test 'no log-link' '! grep -e "foo/log" trash/tmp' tests_done