📄 06_list_nonroot.py
字号:
#!/usr/bin/python# Copyright (C) International Business Machines Corp., 2005# Copyright (C) XenSource Ltd, 2005# Author: Ewan Mellor <ewan@xensource.com>from XmTestLib import *becomeNonRoot()status, output = traceCommand("xm list")eyecatcher = "Error: Most commands need root access"where = output.find(eyecatcher)if where == -1: FAIL("xm list: didn't see the root hint, saw %s" % output)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -