05_help_nonroot_pos.py

来自「xen虚拟机源代码安装包」· Python 代码 · 共 18 行

PY
18
字号
#!/usr/bin/python# Copyright (C) International Business Machines Corp., 2005# Copyright (C) XenSource Ltd, 2005# Author: Dan Smith <danms@us.ibm.com># Author: Woody Marvel <marvel@us.ibm.com># Author: Ewan Mellor <ewan@xensource.com>from XmTestLib import *becomeNonRoot()status, output = traceCommand("xm help")eyecatcher = "Usage:"where = output.find(eyecatcher)if where == -1:    FAIL("xm help: didn't see the usage string")

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?