Add a couple of testcases around change_profile keyword and different

types of profile names.
This commit is contained in:
Steve Beattie 2009-07-22 15:43:46 +00:00
parent 100d791e84
commit a08658b46d
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#
#=DESCRIPTION change_profile with a variable (LP: #390810)
#=EXRESULT PASS
#
@{LIBVIRT}="libvirt"
/usr/bin/foo {
change_profile -> @{LIBVIRT}-foo,
}

View file

@ -0,0 +1,10 @@
#
#=DESCRIPTION change_profile with variable+regex (LP: #390810)
#=EXRESULT PASS
#
@{LIBVIRT}="libvirt"
/usr/bin/foo {
change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*,
}