Skip to content

Commit

Permalink
chore: source sdkman init script in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koralowiec committed Dec 28, 2024
1 parent a2d4c66 commit ba9853b
Show file tree
Hide file tree
Showing 55 changed files with 220 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/activemq-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "activemq --version" activemq --version
Expand Down
4 changes: 4 additions & 0 deletions test/ant-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "ant -version" ant -version
Expand Down
4 changes: 4 additions & 0 deletions test/asciidoctorj-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "asciidoctorj --version" asciidoctorj --version
Expand Down
4 changes: 4 additions & 0 deletions test/ballerina-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "ballerina version" ballerina version
Expand Down
4 changes: 4 additions & 0 deletions test/bpipe-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type bpipe" type bpipe
Expand Down
4 changes: 4 additions & 0 deletions test/btrace-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "btrace --version" btrace --version
Expand Down
4 changes: 4 additions & 0 deletions test/concurnas-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "conc --help" conc --help
Expand Down
4 changes: 4 additions & 0 deletions test/connor-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "connor --version" connor --version
Expand Down
4 changes: 4 additions & 0 deletions test/cuba-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "cuba-cli version" cuba-cli version
Expand Down
4 changes: 4 additions & 0 deletions test/cxf-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type java2js && type wsdl2xml" type java2js && type wsdl2xml
Expand Down
4 changes: 4 additions & 0 deletions test/doctoolchain-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type doctoolchain" type doctoolchain
Expand Down
4 changes: 4 additions & 0 deletions test/flink-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "flink --version" flink --version
Expand Down
4 changes: 4 additions & 0 deletions test/gaiden-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "gaiden --version" gaiden --version
Expand Down
4 changes: 4 additions & 0 deletions test/gradle-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "gradle --version" gradle --version
Expand Down
4 changes: 4 additions & 0 deletions test/gradleprofiler-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "gradle-profiler --version" gradle-profiler --version
Expand Down
4 changes: 4 additions & 0 deletions test/grails-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "grails --version" grails --version
Expand Down
4 changes: 4 additions & 0 deletions test/groovy-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "groovy --version" groovy --version
Expand Down
4 changes: 4 additions & 0 deletions test/groovyserv-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type groovyclient" type groovyclient
Expand Down
4 changes: 4 additions & 0 deletions test/hadoop-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "hadoop version" hadoop version
Expand Down
4 changes: 4 additions & 0 deletions test/http4k-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "http4k --version" http4k --version
Expand Down
4 changes: 4 additions & 0 deletions test/infrastructor-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "infrastructor version" infrastructor version
Expand Down
4 changes: 4 additions & 0 deletions test/jbake-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "jbake --help" jbake --help
Expand Down
4 changes: 4 additions & 0 deletions test/jbang-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "jbang --version" jbang --version
Expand Down
4 changes: 4 additions & 0 deletions test/jmc-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type jmc" type jmc
Expand Down
4 changes: 4 additions & 0 deletions test/jmeter-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "jmeter --version" jmeter --version
Expand Down
4 changes: 4 additions & 0 deletions test/joern-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type joern-parse && type joern-flow && type joern-scan && type joern-export" type joern-parse && type joern-flow && type joern-scan && type joern-export
Expand Down
4 changes: 4 additions & 0 deletions test/jreleaser-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "jreleaser --version" jreleaser --version
Expand Down
4 changes: 4 additions & 0 deletions test/karaf-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type karaf" type karaf
Expand Down
4 changes: 4 additions & 0 deletions test/ki-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "ki --version" ki --version
Expand Down
4 changes: 4 additions & 0 deletions test/kobweb-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "kobweb --version" kobweb --version
Expand Down
4 changes: 4 additions & 0 deletions test/kotlin-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type kotlin" type kotlin
Expand Down
4 changes: 4 additions & 0 deletions test/kotlin-sdkman/test_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type kotlin" type kotlin
Expand Down
4 changes: 4 additions & 0 deletions test/kotlin-sdkman/test_universal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "type kotlin" type kotlin
Expand Down
4 changes: 4 additions & 0 deletions test/kscript-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "kscript --help" kscript --help
Expand Down
4 changes: 4 additions & 0 deletions test/layrry-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "layrry --version" layrry --version
Expand Down
4 changes: 4 additions & 0 deletions test/leiningen-sdkman/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

# Copied from /etc/bash.bashrc which is not sourced in non-interactive shell
export SDKMAN_DIR=/usr/local/sdkman
source ${SDKMAN_DIR}/bin/sdkman-init.sh

source dev-container-features-test-lib

check "lein --version" lein --version
Expand Down
Loading

0 comments on commit ba9853b

Please sign in to comment.