Skip to content

Commit

Permalink
Merge pull request #284 from michal-josef-spacek/fix_desc
Browse files Browse the repository at this point in the history
Fix description of test
  • Loading branch information
phracek authored Oct 10, 2023
2 parents e97e2da + 107ca98 commit 1636bad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 1636bad

Please sign in to comment.