代码搜索结果

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

03_create_badparm_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test description: # Negative Test: # Test for creating domain with non existent opti

02_create_noparm_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Woody Marvel import re from XmTestLib import * status, output = traceCommand("xm create"

02_security-acm_dom_start.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2006 # Author: Stefan Berger # # Simple test that starts two labeled domains; both domains should start #

07_security-acm_pol_update.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2006 # Author: Stefan Berger # Test to exercise the xspolicy class from XmTestLib import xapi from XmTe

04_security-acm_dom_res.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2006 # Author: Stefan Berger # # Simple test that starts two labeled domains using labeled resources each

01_migrate_localhost_pos.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Paul Larson # Description: # Positive Tests: # Tests for xm migrate # 1) Create domain, verif

01_console_badopt_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test Description: # Negative Tests: # Test console command with non existent option

02_console_baddom_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Li Ge # Test Description: # Negative Tests: # Test for attempting to connect to non existent d

01_unpause_basic_pos.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Paul Larson # Description: # Positive Tests: # Tests for xm unpause # 1) Create domain, verif

02_memset_badparm_neg.py

#!/usr/bin/python # Copyright (C) International Business Machines Corp., 2005 # Author: Woody Marvel ## ## Description: ## Test xm mem-set output and status ## Negative Tests: ##