mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
openvz: Add simple testcase for config file parsing function
This testcase passes before the regression is added in f0443765, fails
after that commit and passes again after the regression was fixed.
This commit is contained in:
41
tests/openvzutilstest.conf
Normal file
41
tests/openvzutilstest.conf
Normal file
@@ -0,0 +1,41 @@
|
||||
# sample config from http://blog.lystor.org.ua/2009/11/openvz-configuration-example.html
|
||||
|
||||
ONBOOT="yes"
|
||||
|
||||
# Primary parameters
|
||||
NUMPROC="8000:8000"
|
||||
AVNUMPROC="2257:2257"
|
||||
NUMTCPSOCK="8000:8000"
|
||||
NUMOTHERSOCK="8000:8000"
|
||||
VMGUARPAGES="360000:360000"
|
||||
|
||||
# Secondary parameters
|
||||
KMEMSIZE="184953241:203448565"
|
||||
TCPSNDBUF="28883080:61651080"
|
||||
TCPRCVBUF="28883080:61651080"
|
||||
OTHERSOCKBUF="14441540:47209540"
|
||||
DGRAMRCVBUF="14441540:14441540"
|
||||
OOMGUARPAGES="360000:360000"
|
||||
PRIVVMPAGES="360000:360000"
|
||||
|
||||
# Auxiliary parameters
|
||||
LOCKEDPAGES="9030:9030"
|
||||
SHMPAGES="15506:15506"
|
||||
PHYSPAGES="0:2147483647"
|
||||
NUMFILE="72224:72224"
|
||||
NUMFLOCK="1000:1100"
|
||||
NUMPTY="512:512"
|
||||
NUMSIGINFO="1024:1024"
|
||||
DCACHESIZE="40389343:41601024"
|
||||
NUMIPTENT="200:200"
|
||||
DISKSPACE="107733379:118506717"
|
||||
DISKINODES="55287781:60816560"
|
||||
CPUUNITS="150550"
|
||||
|
||||
# Disk quota parameters (in form of softlimit:hardlimit)
|
||||
DISKSPACE=""
|
||||
DISKINODES=""
|
||||
QUOTATIME=""
|
||||
DISK_QUOTA=no
|
||||
OSTEMPLATE="rhel-5-lystor"
|
||||
IP_ADDRESS="194.44.18.88"
|
||||
Reference in New Issue
Block a user