X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/392e07d28a23aec9942b9ed0d122e35d2d268fb9..fb3655df:/tests/t0105-commit.sh diff --git a/tests/t0105-commit.sh b/tests/t0105-commit.sh index 19a650b..31b554b 100755 --- a/tests/t0105-commit.sh +++ b/tests/t0105-commit.sh @@ -16,22 +16,22 @@ run_test 'find commit msg' 'grep "
" trash/tmp' run_test 'find diffstat' 'grep "" trash/tmp' run_test 'find diff summary' ' - grep "1 files changed, 1 insertions, 0 deletions" trash/tmp + grep "1 files changed, 1 insertions, 0 deletions" trash/tmp ' run_test 'get root commit' ' - root=$(cd trash/repos/foo && git rev-list --reverse HEAD | head -1) && - cgit_url "foo/commit&id=$root" >trash/tmp && - grep "" trash/tmp + root=$(cd trash/repos/foo && git rev-list --reverse HEAD | head -1) && + cgit_url "foo/commit&id=$root" >trash/tmp && + grep "" trash/tmp ' run_test 'root commit contains diffstat' ' - grep "file-1" trash/tmp + grep "file-1" trash/tmp ' run_test 'root commit contains diff' ' - grep ">diff --git a/file-1 b/file-1<" trash/tmp && - grep "
+1
" trash/tmp + grep ">diff --git a/file-1 b/file-1<" trash/tmp && + grep "
+1
" trash/tmp ' tests_done