代码搜索结果

找到约 10,000 项符合 Python 的代码

03_shutdown_nonexist_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Paul Larson # Description: # Positive Tests: # Test for xm shutdown # 1) call xm shutdown wit

01_destroy_basic_pos.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Woody Marvel import sys import re import time from XmTestLib import * # Create a domain

04_create_conflictname_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test Description: # Negative Test: # Test for creating domains with same name. Verify

08_create_mem128_pos.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test Description: # Positive Test # Test for creating domain with mem=. import sys i

08_security-acm_xapi.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2007 # Author: Stefan Berger # VM creation test with labeled VM and labeled VDI from XmTestLib import x

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