代码搜索结果
找到约 10,000 项符合
Python 的代码
01_sysrq_basic_neg.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Dan Smith
# Check to make sure an invalid sysrq is handled appropriately
import re
from X
03_sysrq_withreboot_pos.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Dan Smith
from XmTestLib import *
import time
if ENABLE_HVM_SUPPORT:
SKIP("Sysrq not
01_memset_basic_pos.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Woody Marvel
##
## Description:
## Tests that verify mem-set output and return code
## 1) T
01_domname_basic_pos.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Dan Smith
import re
from XmTestLib import *
status, output = traceCommand("xm domname 0")
02_domname_basic_neg.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Dan Smith
import re
from XmTestLib import *
status, output = traceCommand("xm domname 149
02_reboot_badopt_neg.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Li Ge
import time
import re
from XmTestLib import *
domain = XmTestDomain()
try:
domai
02_info_compiledata_pos.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Dan Smith
import re;
from XmTestLib import *
status, output = traceCommand("xm info")
ou
11_network_domu_ping_pos.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author:
# Ping tests to domU interface
# - creates two guest domains
# - sets up a single NIC o
04_block-list_nodb_pos.py
#!/usr/bin/python
# Copyright (C) International Business Machines Corp., 2005
# Author: Li Ge
mkheader.py
#!/usr/bin/python
import sys, re;
from structs import unions, structs, defines;
# command line arguments
arch = sys.argv[1];
outfile = sys.argv[2];
infiles = sys.argv[3:];
#####################