File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,11 @@ os::cmd::expect_success 'oc delete all -l app=php'
55
55
os::cmd::expect_failure ' oc get dc/mysql'
56
56
os::cmd::expect_failure ' oc get dc/php'
57
57
58
+ # ensure non-duplicate invalid label errors show up
59
+ os::cmd::expect_failure_and_text ' oc new-app nginx -l qwer1345%$$#=self' ' error: ImageStream "nginx" is invalid'
60
+ os::cmd::expect_failure_and_text ' oc new-app nginx -l qwer1345%$$#=self' ' DeploymentConfig "nginx" is invalid'
61
+ os::cmd::expect_failure_and_text ' oc new-app nginx -l qwer1345%$$#=self' ' Service "nginx" is invalid'
62
+
58
63
# check if we can create from a stored template
59
64
os::cmd::expect_success ' oc create -f examples/sample-app/application-template-stibuild.json'
60
65
os::cmd::expect_success ' oc get template ruby-helloworld-sample'
You can’t perform that action at this time.
0 commit comments