mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-08 12:18:57 +00:00
runtime: fix TestMainBeforeSubCommands
It is simply wrong to test kata-check within before sub commands as it is NOT before at all. Besides it causes errors if kata is not installed. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
@@ -561,7 +561,6 @@ func TestMainBeforeSubCommands(t *testing.T) {
|
||||
{[]string{"version"}, false},
|
||||
{[]string{"sub-command", "-h"}, false},
|
||||
{[]string{"sub-command", "--help"}, false},
|
||||
{[]string{"kata-check"}, false},
|
||||
}
|
||||
|
||||
for i, d := range data {
|
||||
|
Reference in New Issue
Block a user