author | Mark Lodato <lodatom@gmail.com> | 2010-08-27 02:02:03 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-08-29 15:27:40 (UTC) |
commit | c94414a4c8cd099f5737e8b4066693d07ce78f61 (patch) (side-by-side diff) | |
tree | 04de175ce3671f3fd3877555dfa8c302cfe0e5ff | |
parent | 15c64c5e474bfaa7fd68c588a13d20deefe1c59d (diff) | |
download | cgit-c94414a4c8cd099f5737e8b4066693d07ce78f61.zip cgit-c94414a4c8cd099f5737e8b4066693d07ce78f61.tar.gz cgit-c94414a4c8cd099f5737e8b4066693d07ce78f61.tar.bz2 |
t0108-patch: add 'tests_done' to end
Signed-off-by: Mark Lodato <lodatom@gmail.com>
-rwxr-xr-x | tests/t0108-patch.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/t0108-patch.sh b/tests/t0108-patch.sh index 33351d6..e608104 100755 --- a/tests/t0108-patch.sh +++ b/tests/t0108-patch.sh @@ -1,37 +1,39 @@ #!/bin/sh . ./setup.sh prepare_tests "Check content on patch page" run_test 'generate foo/patch' ' cgit_query "url=foo/patch" >trash/tmp ' run_test 'find `From:` line' ' grep -e "^From: " trash/tmp ' run_test 'find `Date:` line' ' grep -e "^Date: " trash/tmp ' run_test 'find `Subject:` line' ' grep -e "^Subject: commit 5" trash/tmp ' run_test 'find `cgit` signature' ' tail -1 trash/tmp | grep -e "^cgit" ' run_test 'find initial commit' ' root=$(git --git-dir=$PWD/trash/repos/foo/.git rev-list HEAD | tail -1) ' run_test 'generate patch for initial commit' ' cgit_query "url=foo/patch&id=$root" >trash/tmp ' run_test 'find `cgit` signature' ' tail -1 trash/tmp | grep -e "^cgit" ' + +tests_done |