]> gitweb.ps.run Git - ps-cgit/blobdiff - tests/t0101-index.sh
shared.c: use execvp() to execute filter commands
[ps-cgit] / tests / t0101-index.sh
index 59edc5936fe3ceea17c038440c21808ea9d1e656..07e39f9139de1324013677e58b34ac01ecdc4bba 100755 (executable)
@@ -9,7 +9,9 @@ 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 'no tree-link' '! grep -e "foo/tree" trash/tmp'
+run_test 'no log-link' '! grep -e "foo/log" trash/tmp'
 
 tests_done