aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/tst-basic-error.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/tst-basic-error.sh')
-rw-r--r--test/integration/tst-basic-error.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/integration/tst-basic-error.sh b/test/integration/tst-basic-error.sh
new file mode 100644
index 0000000..8abc42e
--- /dev/null
+++ b/test/integration/tst-basic-error.sh
@@ -0,0 +1,21 @@
+test_run() {
+ test_basic_setup
+ test_run_cgitize --verbose
+ test_basic_verify_commits \
+ 'committing 1.txt' \
+ 'committing 2.txt'
+
+ # Add new commits
+ test_basic_make_commit
+ test_basic_make_commit
+
+ rm -rf -- "$test_repo_dir"
+
+ # Must fail to pick up new commits
+ test_run_cgitize --verbose || true
+ test_basic_verify_commits \
+ 'committing 1.txt' \
+ 'committing 2.txt'
+
+ test_verify_error_header
+}