aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/filters/html-converters/man2html
blob: 1b28437e471393ac3f7c536a2230096d8b5d975b (plain)
1
2
3
4
5
#!/bin/sh
echo "<div style=\"font-family: monospace\">"
groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)'
echo "</div>"
grep "commit 5" tmp' test_expect_success 'find branch master' 'grep "master" tmp' test_expect_success 'no tags' '! grep "tags" tmp' test_expect_success 'clone-url expanded correctly' ' grep "git://example.org/foo.git" tmp ' test_expect_success 'generate bar summary' 'cgit_url "bar" >tmp' test_expect_success 'no commit 45' '! grep "commit 45" tmp' test_expect_success 'find commit 46' 'grep "commit 46" tmp' test_expect_success 'find commit 50' 'grep "commit 50" tmp' test_expect_success 'find branch master' 'grep "master" tmp' test_expect_success 'no tags' '! grep "tags" tmp' test_expect_success 'clone-url expanded correctly' ' grep "git://example.org/bar.git" tmp ' test_done