@@ -12,8 +12,6 @@ os::cmd::expect_success 'openshift ex'
12
12
os::cmd::expect_success ' openshift admin config'
13
13
os::cmd::expect_success ' openshift cli config'
14
14
os::cmd::expect_success ' openshift admin policy '
15
- os::cmd::expect_success ' openshift kubectl'
16
- os::cmd::expect_success ' openshift kube'
17
15
os::cmd::expect_success ' openshift admin'
18
16
os::cmd::expect_success ' openshift start kubernetes'
19
17
os::cmd::expect_success ' kubernetes'
@@ -35,7 +33,6 @@ os::cmd::expect_success_and_not_text 'oc -h' 'Options'
35
33
os::cmd::expect_success_and_not_text ' oc -h' ' Global Options'
36
34
os::cmd::expect_success_and_text ' openshift cli' ' OpenShift Client'
37
35
os::cmd::expect_success_and_text ' oc types' ' Deployment Config'
38
- os::cmd::expect_success_and_text ' openshift kubectl' ' Kubernetes cluster'
39
36
os::cmd::expect_success_and_text ' oadm' ' Administrative Commands'
40
37
os::cmd::expect_success_and_text ' openshift admin' ' Administrative Commands'
41
38
os::cmd::expect_success_and_text ' oadm' ' Component Installation:'
@@ -58,19 +55,16 @@ os::cmd::expect_success_and_text 'oc login --help' 'Options'
58
55
os::cmd::expect_success_and_not_text ' oc login --help' ' Global Options'
59
56
os::cmd::expect_success_and_text ' oc login --help' ' insecure-skip-tls-verify'
60
57
os::cmd::expect_success_and_text ' openshift cli --help' ' OpenShift Client'
61
- os::cmd::expect_success_and_text ' openshift kubectl --help' ' Kubernetes cluster'
62
58
os::cmd::expect_success_and_text ' oadm --help' ' Administrative Commands'
63
59
os::cmd::expect_success_and_text ' openshift admin --help' ' Administrative Commands'
64
60
65
61
# help for root commands through help command must be consistent
66
62
os::cmd::expect_success_and_text ' openshift help cli' ' OpenShift Client'
67
- os::cmd::expect_success_and_text ' openshift help kubectl' ' Kubernetes cluster'
68
63
os::cmd::expect_success_and_text ' openshift help admin' ' Administrative Commands'
69
64
70
65
# help for given command with --help flag must be consistent
71
66
os::cmd::expect_success_and_text ' oc get --help' ' Display one or many resources'
72
67
os::cmd::expect_success_and_text ' openshift cli get --help' ' Display one or many resources'
73
- os::cmd::expect_success_and_text ' openshift kubectl get --help' ' Display one or many resources'
74
68
os::cmd::expect_success_and_text ' openshift start --help' ' Start an all-in-one server'
75
69
os::cmd::expect_success_and_text ' openshift start master --help' ' Start a master'
76
70
os::cmd::expect_success_and_text ' openshift start node --help' ' Start a node'
@@ -83,7 +77,6 @@ os::cmd::expect_success_and_text 'oc get --help' 'oc'
83
77
# help for given command through help command must be consistent
84
78
os::cmd::expect_success_and_text ' oc help get' ' Display one or many resources'
85
79
os::cmd::expect_success_and_text ' openshift help cli get' ' Display one or many resources'
86
- os::cmd::expect_success_and_text ' openshift help kubectl get' ' Display one or many resources'
87
80
os::cmd::expect_success_and_text ' openshift help start' ' Start an all-in-one server'
88
81
os::cmd::expect_success_and_text ' openshift help start master' ' Start a master'
89
82
os::cmd::expect_success_and_text ' openshift help start node' ' Start a node'
@@ -102,7 +95,6 @@ os::cmd::expect_success_and_text 'oc set env --help' 'Use "oc options" for a lis
102
95
# runnable commands with required flags must error consistently
103
96
os::cmd::expect_failure_and_text ' oc get' ' Required resource not specified'
104
97
os::cmd::expect_failure_and_text ' openshift cli get' ' Required resource not specified'
105
- os::cmd::expect_failure_and_text ' openshift kubectl get' ' Required resource not specified'
106
98
107
99
# commands that expect file paths must validate and error out correctly
108
100
os::cmd::expect_failure_and_text ' oc login --certificate-authority=/path/to/invalid' ' no such file or directory'
0 commit comments