diff --git a/parser/tst/simple_tests/simple_ok_change_profile_4.sd b/parser/tst/simple_tests/simple_ok_change_profile_4.sd new file mode 100644 index 000000000..47c7a66e5 --- /dev/null +++ b/parser/tst/simple_tests/simple_ok_change_profile_4.sd @@ -0,0 +1,10 @@ +# +#=DESCRIPTION change_profile with a variable (LP: #390810) +#=EXRESULT PASS +# + +@{LIBVIRT}="libvirt" + +/usr/bin/foo { + change_profile -> @{LIBVIRT}-foo, +} diff --git a/parser/tst/simple_tests/simple_ok_change_profile_5.sd b/parser/tst/simple_tests/simple_ok_change_profile_5.sd new file mode 100644 index 000000000..ef4153e8d --- /dev/null +++ b/parser/tst/simple_tests/simple_ok_change_profile_5.sd @@ -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]*, +}