aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/tst-example-ssh.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-example-ssh.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-example-ssh.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/integration/tst-example-ssh.sh b/test/integration/tst-example-ssh.sh
new file mode 100644
index 0000000..af99616
--- /dev/null
+++ b/test/integration/tst-example-ssh.sh
@@ -0,0 +1,31 @@
+test_run() {
+ test_example_setup
+ test_example_clone_ssh
+
+ test_run_cgitize
+ test_verify_error_header_empty
+
+ test_verify_repos \
+ lens \
+ chromiumembedded/cef \
+ graphviz \
+ wireguard/wintun \
+ goauthentik-dir/authentik \
+ github-dir/public \
+ bitbucket-dir/public \
+ gitlab-dir/public
+
+ test_verify_no_repos \
+ github-dir/private \
+ bitbucket-dir/private \
+ gitlab-dir/private
+
+ test_verify_origin lens 'git@github.com:ekmett/lens.git'
+ test_verify_origin chromiumembedded/cef 'git@bitbucket.org:chromiumembedded/cef.git'
+ test_verify_origin graphviz 'git@gitlab.com:graphviz/graphviz.git'
+ test_verify_origin goauthentik-dir/authentik 'git@github.com:goauthentik/authentik.git'
+
+ test_verify_origin github-dir/public 'git@github.com:cgitize-test/public.git'
+ test_verify_origin bitbucket-dir/public 'git@bitbucket.org:cgitize-test-workspace/public.git'
+ test_verify_origin gitlab-dir/public 'git@gitlab.com:cgitize-test/public.git'
+}