summaryrefslogtreecommitdiff
path: root/tests/t0103-log.sh
blob: b08cd299f37f298887b586cac10384ae793e7d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

. ./setup.sh

prepare_tests "Check content on log page"

run_test 'generate foo/log' 'cgit_url "foo/log" >trash/tmp'
run_test 'find commit 1' 'grep -e "commit 1" trash/tmp'
run_test 'find commit 5' 'grep -e "commit 5" trash/tmp'

run_test 'generate bar/log' 'cgit_url "bar/log" >trash/tmp'
run_test 'find commit 1' 'grep -e "commit 1" trash/tmp'
run_test 'find commit 50' 'grep -e "commit 50" trash/tmp'

tests_done
lass='logmsg'> 2016-02-05show: better clip error messageJason A. Donenfeld1-3/+3 2016-02-05show: allow selecting which clip lineJason A. Donenfeld2-9/+10 2016-02-05generate: have a default length of 25Jason A. Donenfeld2-6/+12 Folks are lazy and don't want to type very much, so they'd like to have a default password length to generate that can be configured via environment variables per usual. I'm making the default 25. If the user forbids the use of symbols, pwgen will use a-zA-Z0-9, ensuring that at least one A-Z and at least one 0-9 is used. We want to have a password of at least 128-bits, so factoring in the issue with "at least one of this character type", 25 gets us there squarely. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>