aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/tst-basic.sh
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-15 02:00:06 +0500
committerEgor Tensin <egor@tensin.name>2026-10-15 08:32:35 +0500
commitded8a1956cfe68c84023f9127f796a5ddf1aef1b (patch)
tree3313cb3ce0f99bd58b623b6283d95405c805ffec /test/integration/tst-basic.sh
parentv9.0.0 (diff)
downloadcgitize-ded8a1956cfe68c84023f9127f796a5ddf1aef1b.tar.gz
cgitize-ded8a1956cfe68c84023f9127f796a5ddf1aef1b.zip
t/i: migrate to test-harness
Diffstat (limited to '')
-rw-r--r--test/integration/tst-basic.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/integration/tst-basic.sh b/test/integration/tst-basic.sh
new file mode 100644
index 0000000..5cc4566
--- /dev/null
+++ b/test/integration/tst-basic.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
+
+ # Pick up new commits
+ test_run_cgitize --verbose
+ test_basic_verify_commits \
+ 'committing 1.txt' \
+ 'committing 2.txt' \
+ 'committing 3.txt' \
+ 'committing 4.txt'
+
+ test_verify_error_header_empty
+}