From 0e833e46437489e15820266a1aaefcbad61884c0 Mon Sep 17 00:00:00 2001 From: Tejal Desai Date: Sat, 1 Feb 2020 09:29:18 -0800 Subject: [PATCH] fix test --- pkg/util/fs_util_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/util/fs_util_test.go b/pkg/util/fs_util_test.go index 9b8d9972c..e2529ed97 100644 --- a/pkg/util/fs_util_test.go +++ b/pkg/util/fs_util_test.go @@ -1279,6 +1279,10 @@ func TestUpdateWhitelist(t *testing.T) { Path: "/var/run", PrefixMatchOnly: false, }, + { + Path: "/tmp/apt-key-gpghome", + PrefixMatchOnly: true, + }, }, }, { @@ -1292,6 +1296,10 @@ func TestUpdateWhitelist(t *testing.T) { Path: "/etc/mtab", PrefixMatchOnly: false, }, + { + Path: "/tmp/apt-key-gpghome", + PrefixMatchOnly: true, + }, }, }, }