03_create_badparm_neg.py
来自「xen 3.2.2 源码」· Python 代码 · 共 20 行
PY
20 行
#!/usr/bin/python# Copyright (C) International Business Machines Corp., 2005# Author: Li Ge <lge@us.ibm.com> # Test description:# Negative Test:# Test for creating domain with non existent option in the command line.# Verify fail.import refrom XmTestLib import *status, output = traceCommand("xm create -x")eyecatcher = "Error:"where = output.find(eyecatcher)if where == -1: FAIL("xm create failed to report error on bad arg")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?