fix(test): update test to the new value of bin.
This commit is contained in:
parent
c969faf6e8
commit
5edde91d44
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ func TestAppArmorProfileFile_resolveValues(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "simple",
|
name: "simple",
|
||||||
input: "@{bin}/foo",
|
input: "@{bin}/foo",
|
||||||
want: []string{"/{,usr/}{,s}bin/foo"},
|
want: []string{"/{,usr/}bin/foo"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "double",
|
name: "double",
|
||||||
|
|
|
||||||
|
|
@ -209,7 +209,7 @@ func TestBuilder_Apply(t *testing.T) {
|
||||||
want: `
|
want: `
|
||||||
@{exec_path} = @{bin}/baloo_file @{lib}/{,kf6/}baloo_file
|
@{exec_path} = @{bin}/baloo_file @{lib}/{,kf6/}baloo_file
|
||||||
@{exec_path} += @{lib}/@{multiarch}/{,libexec/}baloo_file
|
@{exec_path} += @{lib}/@{multiarch}/{,libexec/}baloo_file
|
||||||
profile baloo /{{,usr/}{,s}bin/baloo_file,{,usr/}lib{,exec,32,64}/{,kf6/}baloo_file,{,usr/}lib{,exec,32,64}/*-linux-gnu*/{,libexec/}baloo_file} {
|
profile baloo /{{,usr/}bin/baloo_file,{,usr/}lib{,exec,32,64}/{,kf6/}baloo_file,{,usr/}lib{,exec,32,64}/*-linux-gnu*/{,libexec/}baloo_file} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue