Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix description of test #284

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -303,15 +303,15 @@ function test_scl_variables_in_dockerfile() {

function test_from_dockerfile(){
info "Check building using a Dockerfile"
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application on OpenShift' app-src
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application' app-src
t1=$?
if [ "$t1" == "0" ]; then
echo "test 1 from_dockerfile passed";
fi;
ct_check_testcase_result $t1

info "Check building using a Dockerfile.s2i"
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile.s2i 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application on OpenShift' app-src
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile.s2i 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application' app-src
t2=$?
if [[ "$t2" == "0" ]];then
echo "test 2 from_dockerfile passed";
Expand Down
4 changes: 2 additions & 2 deletions test/run-modfcgid
Original file line number Diff line number Diff line change
Expand Up @@ -399,15 +399,15 @@ test_npm() {

function test_from_dockerfile(){
info "Check building using a Dockerfile"
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application on OpenShift' app-src
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application' app-src
t1=$?
if [ "$t1" == "0" ]; then
echo "test 1 from_dockerfile passed";
fi;
ct_check_testcase_result $t1

info "Check building using a Dockerfile.s2i"
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile.s2i 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application on OpenShift' app-src
ct_test_app_dockerfile $test_dir/examples/from-dockerfile/${VERSION}/Dockerfile.s2i 'https://github.com/sclorg/dancer-ex.git' 'Welcome to your Dancer application' app-src
t2=$?
if [[ "$t2" == "0" ]];then
echo "test 2 from_dockerfile passed";
Expand Down