summaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/tst-example-ssh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/tst-example-ssh.sh')
-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'
+}