⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 06_list_nonroot.py

📁 xen虚拟机源代码安装包
💻 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 + -