summaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/tst-example-ssh-private.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/tst-example-ssh-private.sh')
-rw-r--r--test/integration/tst-example-ssh-private.sh33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/integration/tst-example-ssh-private.sh b/test/integration/tst-example-ssh-private.sh
new file mode 100644
index 0000000..016d0da
--- /dev/null
+++ b/test/integration/tst-example-ssh-private.sh
@@ -0,0 +1,33 @@
+test_run() {
+ test_example_setup
+ test_example_clone_ssh
+ test_example_private_include
+
+ test_run_cgitize
+ test_verify_error_header_empty
+
+ test_verify_repos \
+ lens \
+ chromiumembedded/cef \
+ graphviz \
+ wireguard/wintun \
+ goauthentik-dir/authentik \
+ github-dir/public \
+ github-dir/private \
+ bitbucket-dir/public \
+ bitbucket-dir/private \
+ gitlab-dir/public \
+ 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 github-dir/private 'git@github.com:cgitize-test/private.git'
+ test_verify_origin bitbucket-dir/public 'git@bitbucket.org:cgitize-test-workspace/public.git'
+ test_verify_origin bitbucket-dir/private 'git@bitbucket.org:cgitize-test-workspace/private.git'
+ test_verify_origin gitlab-dir/public 'git@gitlab.com:cgitize-test/public.git'
+ test_verify_origin gitlab-dir/private 'git@gitlab.com:cgitize-test/private.git'
+}