===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
snapd-2.45.2/HACKING.md-28-
snapd-2.45.2/HACKING.md:29:will define and create `$HOME/work` as your local `GOPATH`. The `go` tool
snapd-2.45.2/HACKING.md-30-itself will create three subdirectories inside your `GOPATH` when required;
##############################################
snapd-2.45.2/HACKING.md-36-
snapd-2.45.2/HACKING.md:37:Add `$GOPATH/bin` to your `PATH`, so you can run the go programs you install:
snapd-2.45.2/HACKING.md-38-
##############################################
snapd-2.45.2/HACKING.md-40-
snapd-2.45.2/HACKING.md:41:(note `$GOPATH` can actually point to multiple locations, like `$PATH`, so if
snapd-2.45.2/HACKING.md:42:your `$GOPATH` is more complex than a single entry you'll need to adjust the
snapd-2.45.2/HACKING.md-43-above).
##############################################
snapd-2.45.2/HACKING.md-53-and install `snapd` and its dependencies. To also build and install `snapd`
snapd-2.45.2/HACKING.md:54:itself into `$GOPATH/bin`, omit the `-d` flag. More details on the `go get`
snapd-2.45.2/HACKING.md-55-flags are available using
##############################################
snapd-2.45.2/HACKING.md-59-At this point you will have the git local repository of the `snapd` source at
snapd-2.45.2/HACKING.md:60:`$GOPATH/src/github.com/snapcore/snapd`. The source for any
snapd-2.45.2/HACKING.md:61:dependent packages will also be available inside `$GOPATH`.
snapd-2.45.2/HACKING.md-62-
##############################################
snapd-2.45.2/HACKING.md-99-
snapd-2.45.2/HACKING.md:100:to have it available in `$GOPATH/bin`
snapd-2.45.2/HACKING.md-101-
##############################################
snapd-2.45.2/HACKING.md-117-We value good tests, so when you fix a bug or add a new feature we highly
snapd-2.45.2/HACKING.md:118:encourage you to create a test in `$source_test.go`. See also the section
snapd-2.45.2/HACKING.md-119-about Testing.
##############################################
snapd-2.45.2/asserts/ifacedecls.go-201-var (
snapd-2.45.2/asserts/ifacedecls.go:202:	validEvalAttrMatcher = regexp.MustCompile(`^\$(SLOT|PLUG)\((.+)\)$`)
snapd-2.45.2/asserts/ifacedecls.go-203-)
##############################################
snapd-2.45.2/asserts/ifacedecls_test.go-343-		})
snapd-2.45.2/asserts/ifacedecls_test.go:344:		c.Check(err, ErrorMatches, fmt.Sprintf(`cannot compile "foo" constraint "%s": not a valid \$SLOT\(\)/\$PLUG\(\) constraint`, regexp.QuoteMeta(wrong)))
snapd-2.45.2/asserts/ifacedecls_test.go-345-
##############################################
snapd-2.45.2/asserts/ifacedecls_test.go-443-`), testEvalAttr{comp2})
snapd-2.45.2/asserts/ifacedecls_test.go:444:	c.Check(err, ErrorMatches, `attribute "bar" constraint \$PLUG\(bar\.baz\) cannot be evaluated: boom`)
snapd-2.45.2/asserts/ifacedecls_test.go-445-
##############################################
snapd-2.45.2/asserts/ifacedecls_test.go-456-`), testEvalAttr{comp3})
snapd-2.45.2/asserts/ifacedecls_test.go:457:	c.Check(err, ErrorMatches, `attribute "foo" does not match \$SLOT\(foo\): foo != other-value`)
snapd-2.45.2/asserts/ifacedecls_test.go-458-}
##############################################
snapd-2.45.2/asserts/ifacedecls_test.go-491-	_, err := asserts.CompileNameConstraints("slot-names", "true")
snapd-2.45.2/asserts/ifacedecls_test.go:492:	c.Check(err, ErrorMatches, `slot-names constraints must be a list of regexps and special \$ values`)
snapd-2.45.2/asserts/ifacedecls_test.go-493-
snapd-2.45.2/asserts/ifacedecls_test.go-494-	_, err = asserts.CompileNameConstraints("slot-names", []interface{}{map[string]interface{}{"foo": "bar"}})
snapd-2.45.2/asserts/ifacedecls_test.go:495:	c.Check(err, ErrorMatches, `slot-names constraint entry must be a regexp or special \$ value`)
snapd-2.45.2/asserts/ifacedecls_test.go-496-
##############################################
snapd-2.45.2/asserts/ifacedecls_test.go-500-	_, err = asserts.CompileNameConstraints("plug-names", []interface{}{"$"})
snapd-2.45.2/asserts/ifacedecls_test.go:501:	c.Check(err, ErrorMatches, `plug-names constraint entry special value "\$" is invalid`)
snapd-2.45.2/asserts/ifacedecls_test.go-502-
snapd-2.45.2/asserts/ifacedecls_test.go-503-	_, err = asserts.CompileNameConstraints("slot-names", []interface{}{"$12"})
snapd-2.45.2/asserts/ifacedecls_test.go:504:	c.Check(err, ErrorMatches, `slot-names constraint entry special value "\$12" is invalid`)
snapd-2.45.2/asserts/ifacedecls_test.go-505-
##############################################
snapd-2.45.2/asserts/ifacedecls_test.go-1343-  allow-auto-connection:
snapd-2.45.2/asserts/ifacedecls_test.go:1344:    plug-names: true`, `plug-names constraints must be a list of regexps and special \$ values`},
snapd-2.45.2/asserts/ifacedecls_test.go-1345-		{`iface:
snapd-2.45.2/asserts/ifacedecls_test.go-1346-  allow-auto-connection:
snapd-2.45.2/asserts/ifacedecls_test.go:1347:    slot-names: true`, `slot-names constraints must be a list of regexps and special \$ values`},
snapd-2.45.2/asserts/ifacedecls_test.go-1348-	}
##############################################
snapd-2.45.2/asserts/ifacedecls_test.go-2174-  allow-auto-connection:
snapd-2.45.2/asserts/ifacedecls_test.go:2175:    plug-names: true`, `plug-names constraints must be a list of regexps and special \$ values`},
snapd-2.45.2/asserts/ifacedecls_test.go-2176-		{`iface:
snapd-2.45.2/asserts/ifacedecls_test.go-2177-  allow-auto-connection:
snapd-2.45.2/asserts/ifacedecls_test.go:2178:    slot-names: true`, `slot-names constraints must be a list of regexps and special \$ values`},
snapd-2.45.2/asserts/ifacedecls_test.go-2179-	}
##############################################
snapd-2.45.2/asserts/system_user.go-135-	if len(l) != 4 && len(l) != 5 {
snapd-2.45.2/asserts/system_user.go:136:		return nil, fmt.Errorf(`hashed password must be of the form "$integer-id$salt$hash", see crypt(3)`)
snapd-2.45.2/asserts/system_user.go-137-	}
##############################################
snapd-2.45.2/asserts/system_user.go-184-	if err != nil {
snapd-2.45.2/asserts/system_user.go:185:		return "", fmt.Errorf(`%q header must start with "$integer-id$", got %q`, name, shd.ID)
snapd-2.45.2/asserts/system_user.go-186-	}
##############################################
snapd-2.45.2/asserts/system_user_test.go-169-		{"password: $6$salt$hash\n", "password:\n  - foo\n", `"password" header must be a string`},
snapd-2.45.2/asserts/system_user_test.go:170:		{"password: $6$salt$hash\n", "password: cleartext\n", `"password" header invalid: hashed password must be of the form "\$integer-id\$salt\$hash", see crypt\(3\)`},
snapd-2.45.2/asserts/system_user_test.go:171:		{"password: $6$salt$hash\n", "password: $ni!$salt$hash\n", `"password" header must start with "\$integer-id\$", got "ni!"`},
snapd-2.45.2/asserts/system_user_test.go:172:		{"password: $6$salt$hash\n", "password: $3$salt$hash\n", `"password" header only supports \$id\$ values of 6 \(sha512crypt\) or higher`},
snapd-2.45.2/asserts/system_user_test.go-173-		{"password: $6$salt$hash\n", "password: $7$invalid-salt$hash\n", `"password" header has invalid chars in salt "invalid-salt"`},
##############################################
snapd-2.45.2/boot/modeenv_test.go-188-		{
snapd-2.45.2/boot/modeenv_test.go:189:			`pc-kernel_1.snap,this-is-not-a-real-snap$%^&^%$#@#$%^%"$,pc-kernel_2.snap`,
snapd-2.45.2/boot/modeenv_test.go:190:			[]string{"pc-kernel_1.snap", `this-is-not-a-real-snap$%^&^%$#@#$%^%"$`, "pc-kernel_2.snap"},
snapd-2.45.2/boot/modeenv_test.go-191-		},
##############################################
snapd-2.45.2/cmd/Makefile.am-39-	for f in $(foreach dir,$(subdirs),$(wildcard $(srcdir)/$(dir)/*.[ch])) ; do \
snapd-2.45.2/cmd/Makefile.am:40:	       out="$$d/`basename $$f.out`"; \
snapd-2.45.2/cmd/Makefile.am-41-	       echo "Checking $$f ... "; \
##############################################
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go-86-func (s *encryptSuite) TestEncryptFormatError(c *C) {
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go:87:	s.mockCryptsetup = testutil.MockCommand(c, "cryptsetup", `[ "$2" == "luksFormat" ] && exit 127 || exit 0`)
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go-88-	s.AddCleanup(s.mockCryptsetup.Restore)
##############################################
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go-95-func (s *encryptSuite) TestEncryptOpenError(c *C) {
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go:96:	s.mockCryptsetup = testutil.MockCommand(c, "cryptsetup", `[ "$1" == "open" ] && exit 127 || exit 0`)
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go-97-	s.AddCleanup(s.mockCryptsetup.Restore)
##############################################
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go-105-	capturedFifo := filepath.Join(c.MkDir(), "captured-stdin")
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go:106:	s.mockCryptsetup = testutil.MockCommand(c, "cryptsetup", fmt.Sprintf(`[ "$1" == "luksAddKey" ] && cat %s/tmp-rkey > %s || exit 0`, dirs.SnapRunDir, capturedFifo))
snapd-2.45.2/cmd/snap-bootstrap/partition/encrypt_test.go-107-	s.AddCleanup(s.mockCryptsetup.Restore)
##############################################
snapd-2.45.2/cmd/snap-bootstrap/partition/mkfs_test.go-41-	// some commads use fakeroot, mock one that just calls the other script
snapd-2.45.2/cmd/snap-bootstrap/partition/mkfs_test.go:42:	cmdFakeroot := testutil.MockCommand(c, "fakeroot", `exec "$@"`)
snapd-2.45.2/cmd/snap-bootstrap/partition/mkfs_test.go-43-	s.AddCleanup(cmdFakeroot.Restore)
##############################################
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-47-
snapd-2.45.2/cmd/snap-confine/snap-confine.rst:48:`snap-confine` switches to the apparmor profile `$SECURITY_TAG`. The profile is
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-49-**mandatory** and `snap-confine` will refuse to run without it.
##############################################
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-61-`snap-confine` looks for the
snapd-2.45.2/cmd/snap-confine/snap-confine.rst:62:`/var/lib/snapd/seccomp/bpf/$SECURITY_TAG.bin` file. This file is
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-63-**mandatory** and `snap-confine` will refuse to run without it. This
##############################################
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-67-The file is generated with the `/usr/lib/snapd/snap-seccomp` compiler from the
snapd-2.45.2/cmd/snap-confine/snap-confine.rst:68:`$SECURITY_TAG.src` file that uses a custom syntax that describes the set of
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-69-allowed system calls and optionally their arguments. The profile is then used
##############################################
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-80-namespace profile to freshly constructed mount namespace. That tool looks for
snapd-2.45.2/cmd/snap-confine/snap-confine.rst:81:the `/var/lib/snapd/mount/snap.$SNAP_NAME.fstab` file.  If present it is read,
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-82-parsed and treated like a mostly-typical `fstab(5)` file.  The mount directives
##############################################
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-158-
snapd-2.45.2/cmd/snap-confine/snap-confine.rst:159:`/run/snapd/ns/$SNAP_NAME.lock`:
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-160-
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-161-    A `flock(2)`-based lock file acquired to create or join the mount namespace
snapd-2.45.2/cmd/snap-confine/snap-confine.rst:162:    represented as `/run/snaps/ns/$SNAP_NAME.mnt`.
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-163-
snapd-2.45.2/cmd/snap-confine/snap-confine.rst:164:`/run/snapd/ns/$SNAP_NAME.mnt`:
snapd-2.45.2/cmd/snap-confine/snap-confine.rst-165-
##############################################
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst-46-
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst:47:`/run/snapd/ns/$SNAP_INSTNACE_NAME.mnt`:
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst:48:`/run/snapd/ns/$SNAP_INSTNACE_NAME.*.mnt`:
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst-49-
##############################################
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst-52-
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst:53:`/run/snapd/ns/snap.$SNAP_INSTNACE_NAME.fstab`:
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst:54:`/run/snapd/ns/snap.$SNAP_INSTNACE_NAME.*.user-fstab`:
snapd-2.45.2/cmd/snap-discard-ns/snap-discard-ns.rst-55-
##############################################
snapd-2.45.2/cmd/snap-exec/main_test.go-122-	}{
snapd-2.45.2/cmd/snap-exec/main_test.go:123:		{cmd: "", expected: `run-app cmd-arg1 $SNAP_DATA`},
snapd-2.45.2/cmd/snap-exec/main_test.go-124-		{cmd: "stop", expected: "stop-app"},
##############################################
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-77-	snapdCmd := testutil.MockCommand(c, filepath.Join(dirs.SnapMountDir, "snapd", "100", "/usr/lib/snapd/snapd"),
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go:78:		`test "$SNAPD_REVERT_TO_REV" = "100"`)
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-79-	defer snapdCmd.Restore()
##############################################
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-113-	snapdCmd := testutil.MockCommand(c, filepath.Join(dirs.SnapMountDir, "snapd", "100", "/usr/lib/snapd/snapd"),
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go:114:		`test "$SNAPD_REVERT_TO_REV" = "100"`)
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-115-	defer snapdCmd.Restore()
##############################################
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-154-	snapdCmd := testutil.MockCommand(c, filepath.Join(dirs.SnapMountDir, "snapd", "100", "/usr/lib/snapd/snapd"),
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go:155:		`test "$SNAPD_REVERT_TO_REV" = "100"`)
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-156-	defer snapdCmd.Restore()
##############################################
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-201-	snapdCmd := testutil.MockCommand(c, filepath.Join(dirs.SnapMountDir, "snapd", "100", "/usr/lib/snapd/snapd"),
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go:202:		`test "$SNAPD_REVERT_TO_REV" = "100"`)
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-203-	defer snapdCmd.Restore()
##############################################
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-245-	snapdCmd := testutil.MockCommand(c, filepath.Join(dirs.SnapMountDir, "core", "current", "/usr/lib/snapd/snapd"),
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go:246:		`test "$SNAPD_REVERT_TO_REV" = "0"`)
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-247-	defer snapdCmd.Restore()
##############################################
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-393-	snapdCmd := testutil.MockCommand(c, filepath.Join(dirs.SnapMountDir, "snapd", "100", "/usr/lib/snapd/snapd"),
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go:394:		`test "$SNAPD_REVERT_TO_REV" = "100"`)
snapd-2.45.2/cmd/snap-failure/cmd_snapd_test.go-395-	defer snapdCmd.Restore()
##############################################
snapd-2.45.2/cmd/snap-mgmt/snap-mgmt.sh.in-73-            #  /snap/core//3440               -> core/3440
snapd-2.45.2/cmd/snap-mgmt/snap-mgmt.sh.in:74:            # NOTE: we could have used `systemctl show $unit -p Where --value`
snapd-2.45.2/cmd/snap-mgmt/snap-mgmt.sh.in-75-            # but systemd 204 shipped with Ubuntu 14.04 does not support this
snapd-2.45.2/cmd/snap-mgmt/snap-mgmt.sh.in:76:            snap_rev=$(systemctl show "$unit" -p Where | sed -e 's#Where=##' -e "s#$SNAP_MOUNT_DIR##" -e 's#^/*##')
snapd-2.45.2/cmd/snap-mgmt/snap-mgmt.sh.in-77-            snap=$(echo "$snap_rev" |cut -f1 -d/)
##############################################
snapd-2.45.2/cmd/snap-update-ns/main_test.go-363-	snapName := "foo"
snapd-2.45.2/cmd/snap-update-ns/main_test.go:364:	desiredProfileContent := `$XDG_RUNTIME_DIR/doc/by-app/snap.foo $XDG_RUNTIME_DIR/doc none bind,rw 0 0`
snapd-2.45.2/cmd/snap-update-ns/main_test.go-365-
##############################################
snapd-2.45.2/cmd/snap/cmd_help_test.go-121-		// <<something>> optionally ending in ellipsis
snapd-2.45.2/cmd/snap/cmd_help_test.go:122:		c.Check(s.Stdout(), check.Matches, fmt.Sprintf(`(?sm)Usage:\s+snap %s(?: \[[^][]+\])*(?:(?: <[^<>]+>)+(?:\.\.\.)?)?$.*`, cmd), comment)
snapd-2.45.2/cmd/snap/cmd_help_test.go-123-		c.Check(s.Stderr(), check.Equals, "", comment)
##############################################
snapd-2.45.2/cmd/snap/cmd_help_test.go-186-
snapd-2.45.2/cmd/snap/cmd_help_test.go:187:	c.Check(s.Stdout(), check.Not(check.Matches), `(?s).*(?m-s)^\.TP\n\.TP$(?s-m).*`)
snapd-2.45.2/cmd/snap/cmd_help_test.go-188-
##############################################
snapd-2.45.2/cmd/snap/cmd_snap_op_test.go-225-	c.Check(s.Stdout(), check.Matches, `(?sm).*foo \(candidate\) 1.0 from Bar installed`)
snapd-2.45.2/cmd/snap/cmd_snap_op_test.go:226:	c.Check(s.Stderr(), testutil.MatchesWrapped, `Warning: \S+/bin was not found in your \$PATH.*`)
snapd-2.45.2/cmd/snap/cmd_snap_op_test.go-227-	// ensure that the fake server api was actually hit
##############################################
snapd-2.45.2/daemon/daemon_test.go-696-	go func() {
snapd-2.45.2/daemon/daemon_test.go:697:		res, err := http.Get(fmt.Sprintf("http://%s/endp", snapdL.Addr()))
snapd-2.45.2/daemon/daemon_test.go-698-		c.Assert(err, check.IsNil)
##############################################
snapd-2.45.2/daemon/daemon_test.go-791-	go func() {
snapd-2.45.2/daemon/daemon_test.go:792:		_, err := http.Get(fmt.Sprintf("http://%s/endp", snapdL.Addr()))
snapd-2.45.2/daemon/daemon_test.go-793-		c.Assert(err, check.NotNil)
##############################################
snapd-2.45.2/daemon/ucrednet.go-93-
snapd-2.45.2/daemon/ucrednet.go:94:func (wc *ucrednetConn) RemoteAddr() net.Addr {
snapd-2.45.2/daemon/ucrednet.go:95:	return &ucrednetAddr{wc.Conn.RemoteAddr(), wc.ucrednet}
snapd-2.45.2/daemon/ucrednet.go-96-}
##############################################
snapd-2.45.2/daemon/ucrednet.go-129-			uid:    ucred.Uid,
snapd-2.45.2/daemon/ucrednet.go:130:			socket: ucon.LocalAddr().String(),
snapd-2.45.2/daemon/ucrednet.go-131-		}
##############################################
snapd-2.45.2/daemon/ucrednet_test.go-74-
snapd-2.45.2/daemon/ucrednet_test.go:75:	remoteAddr := conn.RemoteAddr().String()
snapd-2.45.2/daemon/ucrednet_test.go-76-	c.Check(remoteAddr, check.Matches, "pid=100;uid=42;.*")
##############################################
snapd-2.45.2/daemon/ucrednet_test.go-89-
snapd-2.45.2/daemon/ucrednet_test.go:90:	addr := l.Addr().String()
snapd-2.45.2/daemon/ucrednet_test.go-91-
##############################################
snapd-2.45.2/daemon/ucrednet_test.go-101-
snapd-2.45.2/daemon/ucrednet_test.go:102:	remoteAddr := conn.RemoteAddr().String()
snapd-2.45.2/daemon/ucrednet_test.go-103-	c.Check(remoteAddr, check.Matches, "pid=;uid=;.*")
##############################################
snapd-2.45.2/interfaces/builtin/alsa_test.go-88-KERNEL=="pcmC[0-9]*D[0-9]*[cp]", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/alsa_test.go:89:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/alsa_test.go-90-}
##############################################
snapd-2.45.2/interfaces/builtin/audio_playback_test.go-200-KERNEL=="timer", TAG+="snap_audio-playback_app1"`)
snapd-2.45.2/interfaces/builtin/audio_playback_test.go:201:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_audio-playback_app1", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_audio-playback_app1 $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/audio_playback_test.go-202-}
##############################################
snapd-2.45.2/interfaces/builtin/block_devices_test.go-93-KERNEL=="megaraid_sas_ioctl_node", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/block_devices_test.go:94:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/block_devices_test.go-95-}
##############################################
snapd-2.45.2/interfaces/builtin/bluetooth_control_test.go-106-SUBSYSTEM=="BT_chrdev", TAG+="snap_other_app2"`)
snapd-2.45.2/interfaces/builtin/bluetooth_control_test.go:107:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_other_app2", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_other_app2 $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/bluetooth_control_test.go-108-}
##############################################
snapd-2.45.2/interfaces/builtin/bluez_test.go-245-KERNEL=="rfkill", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/bluez_test.go:246:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/bluez_test.go-247-
##############################################
snapd-2.45.2/interfaces/builtin/bluez_test.go-255-	c.Assert(spec.Snippets()[0], testutil.Contains, `KERNEL=="rfkill", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/bluez_test.go:256:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/bluez_test.go-257-
##############################################
snapd-2.45.2/interfaces/builtin/broadcom_asic_control_test.go-93-SUBSYSTEM=="net", KERNEL=="bcm[0-9]*", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/broadcom_asic_control_test.go:94:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/broadcom_asic_control_test.go-95-}
##############################################
snapd-2.45.2/interfaces/builtin/camera_test.go-90-KERNEL=="vchiq", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/camera_test.go:91:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/camera_test.go-92-}
##############################################
snapd-2.45.2/interfaces/builtin/common_test.go-63-KERNEL=="foo", TAG+="snap_consumer_app-a"`,
snapd-2.45.2/interfaces/builtin/common_test.go:64:		`TAG=="snap_consumer_app-a", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app-a $devpath $major:$minor"`,
snapd-2.45.2/interfaces/builtin/common_test.go-65-		// NOTE: app-b is unaffected as it doesn't have a plug reference.
##############################################
snapd-2.45.2/interfaces/builtin/common_test.go-67-KERNEL=="foo", TAG+="snap_consumer_app-c"`,
snapd-2.45.2/interfaces/builtin/common_test.go:68:		`TAG=="snap_consumer_app-c", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app-c $devpath $major:$minor"`,
snapd-2.45.2/interfaces/builtin/common_test.go-69-	})
##############################################
snapd-2.45.2/interfaces/builtin/device_buttons_test.go-91-KERNEL=="full", SUBSYSTEM=="mem", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/device_buttons_test.go:92:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/device_buttons_test.go-93-	c.Assert(spec.TriggeredSubsystems(), DeepEquals, []string{"input/key"})
##############################################
snapd-2.45.2/interfaces/builtin/dvb_test.go-89-SUBSYSTEM=="dvb", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/dvb_test.go:90:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/dvb_test.go-91-}
##############################################
snapd-2.45.2/interfaces/builtin/framebuffer_test.go-90-KERNEL=="fb[0-9]*", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/framebuffer_test.go:91:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/framebuffer_test.go-92-}
##############################################
snapd-2.45.2/interfaces/builtin/fuse_support_test.go-97-KERNEL=="fuse", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/fuse_support_test.go:98:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/fuse_support_test.go-99-}
##############################################
snapd-2.45.2/interfaces/builtin/hardware_random_control_test.go-88-KERNEL=="hwrng", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/hardware_random_control_test.go:89:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/hardware_random_control_test.go-90-}
##############################################
snapd-2.45.2/interfaces/builtin/hardware_random_observe_test.go-88-KERNEL=="hwrng", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/hardware_random_observe_test.go:89:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/hardware_random_observe_test.go-90-}
##############################################
snapd-2.45.2/interfaces/builtin/hidraw_test.go-265-	extraSnippet := spec.Snippets()[1]
snapd-2.45.2/interfaces/builtin/hidraw_test.go:266:	expectedExtraSnippet1 := `TAG=="snap_client-snap_app-accessing-2-devices", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-devices $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go-267-	c.Assert(extraSnippet, Equals, expectedExtraSnippet1)
##############################################
snapd-2.45.2/interfaces/builtin/hidraw_test.go-278-	extraSnippet = spec.Snippets()[1]
snapd-2.45.2/interfaces/builtin/hidraw_test.go:279:	expectedExtraSnippet2 := `TAG=="snap_client-snap_app-accessing-2-devices", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-devices $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go-280-	c.Assert(extraSnippet, Equals, expectedExtraSnippet2)
##############################################
snapd-2.45.2/interfaces/builtin/hidraw_test.go-291-	extraSnippet = spec.Snippets()[1]
snapd-2.45.2/interfaces/builtin/hidraw_test.go:292:	expectedExtraSnippet3 := `TAG=="snap_client-snap_app-accessing-2-devices", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-devices $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go-293-	c.Assert(extraSnippet, Equals, expectedExtraSnippet3)
##############################################
snapd-2.45.2/interfaces/builtin/hidraw_test.go-324-SUBSYSTEM=="hidraw", KERNEL=="hidraw0", TAG+="snap_client-snap_app-accessing-2-devices"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go:325:	expectedExtraSnippet1 := `TAG=="snap_client-snap_app-accessing-2-devices", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-devices $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go-326-	udevSpec := &udev.Specification{}
##############################################
snapd-2.45.2/interfaces/builtin/hidraw_test.go-337-SUBSYSTEM=="hidraw", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0001", ATTRS{idProduct}=="0001", TAG+="snap_client-snap_app-accessing-2-devices"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go:338:	expectedExtraSnippet2 := `TAG=="snap_client-snap_app-accessing-2-devices", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-devices $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go-339-	udevSpec = &udev.Specification{}
##############################################
snapd-2.45.2/interfaces/builtin/hidraw_test.go-350-SUBSYSTEM=="hidraw", SUBSYSTEMS=="usb", ATTRS{idVendor}=="ffff", ATTRS{idProduct}=="ffff", TAG+="snap_client-snap_app-accessing-2-devices"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go:351:	expectedExtraSnippet3 := `TAG=="snap_client-snap_app-accessing-2-devices", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-devices $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/hidraw_test.go-352-	udevSpec = &udev.Specification{}
##############################################
snapd-2.45.2/interfaces/builtin/i2c_test.go-234-KERNEL=="i2c-1", TAG+="snap_client-snap_app-accessing-1-port"`)
snapd-2.45.2/interfaces/builtin/i2c_test.go:235:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_client-snap_app-accessing-1-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-1-port $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/i2c_test.go-236-}
##############################################
snapd-2.45.2/interfaces/builtin/iio_test.go-204-KERNEL=="iio:device1", TAG+="snap_client-snap_app-accessing-1-port"`)
snapd-2.45.2/interfaces/builtin/iio_test.go:205:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_client-snap_app-accessing-1-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-1-port $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/iio_test.go-206-}
##############################################
snapd-2.45.2/interfaces/builtin/intel_mei_test.go-89-SUBSYSTEM=="mei", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/intel_mei_test.go:90:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/intel_mei_test.go-91-}
##############################################
snapd-2.45.2/interfaces/builtin/io_ports_control_test.go-96-KERNEL=="port", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/io_ports_control_test.go:97:	c.Assert(udevSpec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/io_ports_control_test.go-98-}
##############################################
snapd-2.45.2/interfaces/builtin/joystick_test.go-93-KERNEL=="full", SUBSYSTEM=="mem", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/joystick_test.go:94:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/joystick_test.go-95-	c.Assert(spec.TriggeredSubsystems(), DeepEquals, []string{"input/joystick"})
##############################################
snapd-2.45.2/interfaces/builtin/kernel_module_control_test.go-96-KERNEL=="mem", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/kernel_module_control_test.go:97:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/kernel_module_control_test.go-98-}
##############################################
snapd-2.45.2/interfaces/builtin/kubernetes_support_test.go-253-KERNEL=="kmsg", TAG+="snap_kubernetes-support_default"`)
snapd-2.45.2/interfaces/builtin/kubernetes_support_test.go:254:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_kubernetes-support_default", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_kubernetes-support_default $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/kubernetes_support_test.go-255-
##############################################
snapd-2.45.2/interfaces/builtin/kubernetes_support_test.go-268-KERNEL=="kmsg", TAG+="snap_kubernetes-support_kubelet"`)
snapd-2.45.2/interfaces/builtin/kubernetes_support_test.go:269:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_kubernetes-support_kubelet", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_kubernetes-support_kubelet $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/kubernetes_support_test.go-270-}
##############################################
snapd-2.45.2/interfaces/builtin/kvm_test.go-119-KERNEL=="kvm", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/kvm_test.go:120:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/kvm_test.go-121-}
##############################################
snapd-2.45.2/interfaces/builtin/mir_test.go-160-KERNEL=="ts[0-9]*", TAG+="snap_mir-server_mir"`)
snapd-2.45.2/interfaces/builtin/mir_test.go:161:	c.Assert(udevSpec.Snippets(), testutil.Contains, `TAG=="snap_mir-server_mir", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_mir-server_mir $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/mir_test.go-162-	c.Assert(udevSpec.TriggeredSubsystems(), DeepEquals, []string{"input"})
##############################################
snapd-2.45.2/interfaces/builtin/modem_manager_test.go-212-KERNEL=="tty[a-zA-Z]*[0-9]*|cdc-wdm[0-9]*", TAG+="snap_modem-manager_mm"`)
snapd-2.45.2/interfaces/builtin/modem_manager_test.go:213:	c.Assert(udevSpec.Snippets(), testutil.Contains, `TAG=="snap_modem-manager_mm", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_modem-manager_mm $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/modem_manager_test.go-214-}
##############################################
snapd-2.45.2/interfaces/builtin/network_control_test.go-96-KERNEL=="tun", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/network_control_test.go:97:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/network_control_test.go-98-}
##############################################
snapd-2.45.2/interfaces/builtin/network_manager_test.go-237-KERNEL=="rfkill", TAG+="snap_network-manager_nm"`)
snapd-2.45.2/interfaces/builtin/network_manager_test.go:238:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_network-manager_nm", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_network-manager_nm $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/network_manager_test.go-239-}
##############################################
snapd-2.45.2/interfaces/builtin/ofono_test.go-211-KERNEL=="dsp", TAG+="snap_ofono_app"`)
snapd-2.45.2/interfaces/builtin/ofono_test.go:212:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_ofono_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_ofono_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/ofono_test.go-213-}
##############################################
snapd-2.45.2/interfaces/builtin/opengl_test.go-99-KERNEL=="tegra_dc_[0-9]*", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/opengl_test.go:100:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/opengl_test.go-101-}
##############################################
snapd-2.45.2/interfaces/builtin/optical_drive_test.go-150-KERNEL=="sr[0-9]*", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/optical_drive_test.go:151:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/optical_drive_test.go-152-}
##############################################
snapd-2.45.2/interfaces/builtin/personal_files.go-54-	if !strings.HasPrefix(np, "$HOME/") {
snapd-2.45.2/interfaces/builtin/personal_files.go:55:		return fmt.Errorf(`%q must start with "$HOME/"`, np)
snapd-2.45.2/interfaces/builtin/personal_files.go-56-	}
snapd-2.45.2/interfaces/builtin/personal_files.go-57-	if strings.Count(np, "$HOME") > 1 {
snapd-2.45.2/interfaces/builtin/personal_files.go:58:		return fmt.Errorf(`$HOME must only be used at the start of the path of %q`, np)
snapd-2.45.2/interfaces/builtin/personal_files.go-59-	}
##############################################
snapd-2.45.2/interfaces/builtin/personal_files_test.go-124-		{`read: [ 123 ]`, `"read" must be a list of strings`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:125:		{`read: [ "$HOME/foo/./bar" ]`, `cannot use "\$HOME/foo/./bar": try "\$HOME/foo/bar"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:126:		{`read: [ "../foo" ]`, `"../foo" must start with "\$HOME/"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go-127-		{`read: [ "/foo[" ]`, `"/foo\[" contains a reserved apparmor char from .*`},
##############################################
snapd-2.45.2/interfaces/builtin/personal_files_test.go-130-		{`read: [ "~/foo" ]`, `"~/foo" cannot contain "~"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:131:		{`read: [ "$HOME/foo/~/foo" ]`, `"\$HOME/foo/~/foo" cannot contain "~"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:132:		{`read: [ "$HOME/foo/../foo" ]`, `cannot use "\$HOME/foo/../foo": try "\$HOME/foo"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:133:		{`read: [ "$HOME/home/$HOME/foo" ]`, `\$HOME must only be used at the start of the path of "\$HOME/home/\$HOME/foo"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:134:		{`read: [ "$HOME/sweet/$HOME" ]`, `\$HOME must only be used at the start of the path of "\$HOME/sweet/\$HOME"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go-135-		{`read: [ "/@{FOO}" ]`, `"/@{FOO}" contains a reserved apparmor char from .*`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go-136-		{`read: [ "/home/@{HOME}/foo" ]`, `"/home/@{HOME}/foo" contains a reserved apparmor char from .*`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:137:		{`read: [ "${HOME}/foo" ]`, `"\${HOME}/foo" contains a reserved apparmor char from .*`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go:138:		{`read: [ "$HOME" ]`, `"\$HOME" must start with "\$HOME/"`},
snapd-2.45.2/interfaces/builtin/personal_files_test.go-139-	}
##############################################
snapd-2.45.2/interfaces/builtin/physical_memory_control_test.go-88-KERNEL=="mem", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/physical_memory_control_test.go:89:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/physical_memory_control_test.go-90-}
##############################################
snapd-2.45.2/interfaces/builtin/physical_memory_observe_test.go-89-KERNEL=="mem", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/physical_memory_observe_test.go:90:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/physical_memory_observe_test.go-91-}
##############################################
snapd-2.45.2/interfaces/builtin/ppp_test.go-97-KERNEL=="ppp", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/ppp_test.go:98:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/ppp_test.go-99-}
##############################################
snapd-2.45.2/interfaces/builtin/pulseaudio_test.go-132-KERNEL=="timer", TAG+="snap_pulseaudio_app1"`)
snapd-2.45.2/interfaces/builtin/pulseaudio_test.go:133:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_pulseaudio_app1", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_pulseaudio_app1 $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/pulseaudio_test.go-134-}
##############################################
snapd-2.45.2/interfaces/builtin/raw_usb_test.go-98-SUBSYSTEM=="tty", ENV{ID_BUS}=="usb", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/raw_usb_test.go:99:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/raw_usb_test.go-100-}
##############################################
snapd-2.45.2/interfaces/builtin/raw_volume_test.go-311-KERNEL=="vda1", TAG+="snap_client-snap_app-accessing-1-part"`)
snapd-2.45.2/interfaces/builtin/raw_volume_test.go:312:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_client-snap_app-accessing-1-part", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-1-part $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/raw_volume_test.go-313-
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-417-	extraSnippet := spec.Snippets()[1]
snapd-2.45.2/interfaces/builtin/serial_port_test.go:418:	expectedExtraSnippet1 := `TAG=="snap_client-snap_app-accessing-2-ports", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-ports $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-419-	c.Assert(extraSnippet, Equals, expectedExtraSnippet1)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-431-	extraSnippet = spec.Snippets()[1]
snapd-2.45.2/interfaces/builtin/serial_port_test.go:432:	expectedExtraSnippet2 := `TAG=="snap_client-snap_app-accessing-2-ports", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-ports $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-433-	c.Assert(extraSnippet, Equals, expectedExtraSnippet2)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-445-	extraSnippet = spec.Snippets()[1]
snapd-2.45.2/interfaces/builtin/serial_port_test.go:446:	expectedExtraSnippet3 := `TAG=="snap_client-snap_app-accessing-2-ports", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-ports $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-447-	c.Assert(extraSnippet, Equals, expectedExtraSnippet3)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-459-	extraSnippet = spec.Snippets()[1]
snapd-2.45.2/interfaces/builtin/serial_port_test.go:460:	expectedExtraSnippet4 := `TAG=="snap_client-snap_app-accessing-2-ports", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-2-ports $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-461-	c.Assert(extraSnippet, Equals, expectedExtraSnippet4)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-526-SUBSYSTEM=="tty", KERNEL=="ttyS0", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:527:	expectedExtraSnippet1 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-528-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot1, expectedSnippet1, expectedExtraSnippet1)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-531-SUBSYSTEM=="tty", KERNEL=="ttyUSB927", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:532:	expectedExtraSnippet2 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-533-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot2, expectedSnippet2, expectedExtraSnippet2)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-536-SUBSYSTEM=="tty", KERNEL=="ttyS42", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:537:	expectedExtraSnippet3 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-538-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot3, expectedSnippet3, expectedExtraSnippet3)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-541-SUBSYSTEM=="tty", KERNEL=="ttyO0", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:542:	expectedExtraSnippet4 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-543-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot4, expectedSnippet4, expectedExtraSnippet4)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-546-SUBSYSTEM=="tty", KERNEL=="ttyACM0", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:547:	expectedExtraSnippet5 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-548-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot5, expectedSnippet5, expectedExtraSnippet5)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-551-SUBSYSTEM=="tty", KERNEL=="ttyAMA0", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:552:	expectedExtraSnippet6 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-553-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot6, expectedSnippet6, expectedExtraSnippet6)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-556-SUBSYSTEM=="tty", KERNEL=="ttyXRUSB0", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:557:	expectedExtraSnippet7 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-558-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot7, expectedSnippet7, expectedExtraSnippet7)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-561-SUBSYSTEM=="tty", KERNEL=="ttymxc2", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:562:	expectedExtraSnippet8 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-563-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot8, expectedSnippet8, expectedExtraSnippet8)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-566-SUBSYSTEM=="tty", KERNEL=="ttySC0", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:567:	expectedExtraSnippet9 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-568-	checkConnectedPlugSnippet(s.testPlugPort3, s.testSlot9, expectedSnippet9, expectedExtraSnippet9)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-573-SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0001", ATTRS{idProduct}=="0001", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:574:	expectedExtraSnippet10 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-575-	checkConnectedPlugSnippet(s.testPlugPort3, s.testUDev1, expectedSnippet10, expectedExtraSnippet10)
##############################################
snapd-2.45.2/interfaces/builtin/serial_port_test.go-579-SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idVendor}=="ffff", ATTRS{idProduct}=="ffff", TAG+="snap_client-snap_app-accessing-3rd-port"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go:580:	expectedExtraSnippet11 := `TAG=="snap_client-snap_app-accessing-3rd-port", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_client-snap_app-accessing-3rd-port $devpath $major:$minor"`
snapd-2.45.2/interfaces/builtin/serial_port_test.go-581-	checkConnectedPlugSnippet(s.testPlugPort3, s.testUDev2, expectedSnippet11, expectedExtraSnippet11)
##############################################
snapd-2.45.2/interfaces/builtin/spi_test.go-215-KERNEL=="spidev0.0", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/spi_test.go:216:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/spi_test.go-217-}
##############################################
snapd-2.45.2/interfaces/builtin/system_files.go-56-	if strings.Contains(np, "$HOME") {
snapd-2.45.2/interfaces/builtin/system_files.go:57:		return fmt.Errorf(`$HOME cannot be used in %q`, np)
snapd-2.45.2/interfaces/builtin/system_files.go-58-	}
##############################################
snapd-2.45.2/interfaces/builtin/system_files_test.go-131-		{`read: [ "/foo/../foo" ]`, `cannot use "/foo/../foo": try "/foo"`},
snapd-2.45.2/interfaces/builtin/system_files_test.go:132:		{`read: [ "/home/$HOME/foo" ]`, `\$HOME cannot be used in "/home/\$HOME/foo"`},
snapd-2.45.2/interfaces/builtin/system_files_test.go:133:		{`read: [ "$HOME/sweet/$HOME" ]`, `"\$HOME/sweet/\$HOME" must start with "/"`},
snapd-2.45.2/interfaces/builtin/system_files_test.go-134-		{`read: [ "/@{FOO}" ]`, `"/@{FOO}" contains a reserved apparmor char from .*`},
##############################################
snapd-2.45.2/interfaces/builtin/time_control_test.go-98-SUBSYSTEM=="rtc", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/time_control_test.go:99:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/time_control_test.go-100-}
##############################################
snapd-2.45.2/interfaces/builtin/tpm_test.go-90-KERNEL=="tpmrm[0-9]*", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/tpm_test.go:91:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/tpm_test.go-92-}
##############################################
snapd-2.45.2/interfaces/builtin/u2f_devices_test.go-92-SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120|0121|0200|0402|0403|0406|0407|0410", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/u2f_devices_test.go:93:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/u2f_devices_test.go-94-}
##############################################
snapd-2.45.2/interfaces/builtin/udisks2_test.go-243-SUBSYSTEM=="usb", TAG+="snap_producer_app"`)
snapd-2.45.2/interfaces/builtin/udisks2_test.go:244:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_producer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_producer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/udisks2_test.go-245-}
##############################################
snapd-2.45.2/interfaces/builtin/uio_test.go-103-SUBSYSTEM=="uio", KERNEL=="uio0", TAG+="snap_consumer_app"`)
snapd-2.45.2/interfaces/builtin/uio_test.go:104:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_consumer_app", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_consumer_app $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/uio_test.go-105-}
##############################################
snapd-2.45.2/interfaces/builtin/wayland_test.go-179-KERNEL=="tty[0-9]*", TAG+="snap_wayland_app1"`)
snapd-2.45.2/interfaces/builtin/wayland_test.go:180:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_wayland_app1", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_wayland_app1 $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/wayland_test.go-181-	c.Assert(spec.TriggeredSubsystems(), DeepEquals, []string{"input"})
##############################################
snapd-2.45.2/interfaces/builtin/x11_test.go-188-KERNEL=="tty[0-9]*", TAG+="snap_x11_app1"`)
snapd-2.45.2/interfaces/builtin/x11_test.go:189:	c.Assert(spec.Snippets(), testutil.Contains, `TAG=="snap_x11_app1", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_x11_app1 $devpath $major:$minor"`)
snapd-2.45.2/interfaces/builtin/x11_test.go-190-	c.Assert(spec.TriggeredSubsystems(), DeepEquals, []string{"input"})
##############################################
snapd-2.45.2/interfaces/udev/spec_test.go-122-kernel="hoodoo", TAG+="snap_snap1_foo"`,
snapd-2.45.2/interfaces/udev/spec_test.go:123:		`TAG=="snap_snap1_foo", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_snap1_foo $devpath $major:$minor"`,
snapd-2.45.2/interfaces/udev/spec_test.go-124-		`# iface-1
##############################################
snapd-2.45.2/interfaces/udev/spec_test.go-127-kernel="hoodoo", TAG+="snap_snap1_hook_configure"`,
snapd-2.45.2/interfaces/udev/spec_test.go:128:		`TAG=="snap_snap1_hook_configure", RUN+="/usr/lib/snapd/snap-device-helper $env{ACTION} snap_snap1_hook_configure $devpath $major:$minor"`,
snapd-2.45.2/interfaces/udev/spec_test.go-129-	})
##############################################
snapd-2.45.2/netutil/activation.go-49-
snapd-2.45.2/netutil/activation.go:50:	address, err := net.ResolveUnixAddr("unix", socketPath)
snapd-2.45.2/netutil/activation.go-51-	if err != nil {
##############################################
snapd-2.45.2/netutil/activation.go-80-		}
snapd-2.45.2/netutil/activation.go:81:		addr := ln.Addr().String()
snapd-2.45.2/netutil/activation.go-82-		lns[addr] = ln
##############################################
snapd-2.45.2/osutil/flock_test.go-132-	// we can't use --no-fork because we still support 14.04
snapd-2.45.2/osutil/flock_test.go:133:	cmd := exec.Command("flock", "--exclusive", lockPath, "-c", fmt.Sprintf(`echo "kill $$" > %s && exec sleep 30`, sleeperKillerPath))
snapd-2.45.2/osutil/flock_test.go-134-	c.Assert(cmd.Start(), IsNil)
##############################################
snapd-2.45.2/osutil/strace/strace_test.go-82-	_, err := strace.Command(nil, "foo")
snapd-2.45.2/osutil/strace/strace_test.go:83:	c.Assert(err, ErrorMatches, `cannot use strace without sudo: exec: "sudo": executable file not found in \$PATH`)
snapd-2.45.2/osutil/strace/strace_test.go-84-}
##############################################
snapd-2.45.2/packaging/amzn-2/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/amzn-2/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/amzn-2/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/centos-7/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/centos-7/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/centos-7/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/centos-8/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/centos-8/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/centos-8/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/fedora-29/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/fedora-29/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/fedora-29/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/fedora-30/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/fedora-30/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/fedora-30/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/fedora-31/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/fedora-31/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/fedora-31/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/fedora-rawhide/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/fedora-rawhide/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/fedora-rawhide/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/fedora/snapd.spec-4929- - store: getStructFields takes pointers now
snapd-2.45.2/packaging/fedora/snapd.spec:4930: - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/fedora/snapd.spec-4931- - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/ubuntu-14.04/changelog-4101-    - store: getStructFields takes pointers now
snapd-2.45.2/packaging/ubuntu-14.04/changelog:4102:    - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/ubuntu-14.04/changelog-4103-    - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/ubuntu-16.04/changelog-4102-    - store: getStructFields takes pointers now
snapd-2.45.2/packaging/ubuntu-16.04/changelog:4103:    - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/ubuntu-16.04/changelog-4104-    - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/ubuntu-16.10/changelog-4102-    - store: getStructFields takes pointers now
snapd-2.45.2/packaging/ubuntu-16.10/changelog:4103:    - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/ubuntu-16.10/changelog-4104-    - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/packaging/ubuntu-17.04/changelog-4102-    - store: getStructFields takes pointers now
snapd-2.45.2/packaging/ubuntu-17.04/changelog:4103:    - tests: drop `linux-image-extra-$(uname -r)` install in 18.04
snapd-2.45.2/packaging/ubuntu-17.04/changelog-4104-    - many: fix false negatives reported by vet
##############################################
snapd-2.45.2/sandbox/selinux/label_linux_test.go-88-	ok, err := selinux.VerifyPathContext(l.path)
snapd-2.45.2/sandbox/selinux/label_linux_test.go:89:	c.Assert(err, check.ErrorMatches, `exec: "matchpathcon": executable file not found in \$PATH`)
snapd-2.45.2/sandbox/selinux/label_linux_test.go-90-	c.Assert(ok, check.Equals, false)
##############################################
snapd-2.45.2/sandbox/selinux/label_linux_test.go-127-	err := selinux.RestoreContext(l.path, selinux.RestoreMode{})
snapd-2.45.2/sandbox/selinux/label_linux_test.go:128:	c.Assert(err, check.ErrorMatches, `exec: "restorecon": executable file not found in \$PATH`)
snapd-2.45.2/sandbox/selinux/label_linux_test.go-129-}
##############################################
snapd-2.45.2/sanity/squashfs_test.go-35-	// we create a canary.txt with the same prefix as the real one
snapd-2.45.2/sanity/squashfs_test.go:36:	mockMount := testutil.MockCommand(c, "mount", `echo 'This file is used to check that snapd can read a squashfs image.' > "$4"/canary.txt`)
snapd-2.45.2/sanity/squashfs_test.go-37-	defer mockMount.Restore()
##############################################
snapd-2.45.2/sanity/squashfs_test.go-84-
snapd-2.45.2/sanity/squashfs_test.go:85:	mockMount := testutil.MockCommand(c, "mount", `echo 'wrong content' > "$4"/canary.txt`)
snapd-2.45.2/sanity/squashfs_test.go-86-	defer mockMount.Restore()
##############################################
snapd-2.45.2/snap/info_snap_yaml_test.go-476-`))
snapd-2.45.2/snap/info_snap_yaml_test.go:477:	c.Assert(err, ErrorMatches, `plug "serial" uses reserved attribute "\$baud-rate"`)
snapd-2.45.2/snap/info_snap_yaml_test.go-478-}
##############################################
snapd-2.45.2/snap/info_snap_yaml_test.go-900-`))
snapd-2.45.2/snap/info_snap_yaml_test.go:901:	c.Assert(err, ErrorMatches, `slot "serial" uses reserved attribute "\$baud-rate"`)
snapd-2.45.2/snap/info_snap_yaml_test.go-902-}
##############################################
snapd-2.45.2/snap/validate.go-180-// validateSocketAddr checks that the value of socket addresses.
snapd-2.45.2/snap/validate.go:181:func validateSocketAddr(socket *SocketInfo, fieldName string, address string) error {
snapd-2.45.2/snap/validate.go-182-	if address == "" {
##############################################
snapd-2.45.2/snap/validate.go-485-	}
snapd-2.45.2/snap/validate.go:486:	return validateSocketAddr(socket, "listen-stream", socket.ListenStream)
snapd-2.45.2/snap/validate.go-487-}
##############################################
snapd-2.45.2/snap/validate.go-584-// command-chain, which also doesn't allow whitespace.
snapd-2.45.2/snap/validate.go:585:var appContentWhitelist = regexp.MustCompile(`^[A-Za-z0-9/. _#:$-]*$`)
snapd-2.45.2/snap/validate.go:586:var commandChainContentWhitelist = regexp.MustCompile(`^[A-Za-z0-9/._#:$-]*$`)
snapd-2.45.2/snap/validate.go-587-
##############################################
snapd-2.45.2/snap/validate_test.go-91-		{"horrible_underscores", `contains invalid characters: "_"`},
snapd-2.45.2/snap/validate_test.go:92:		{"foo($bar^baz$)meep", `contains invalid characters: "($", "^", "$)"`},
snapd-2.45.2/snap/validate_test.go-93-
##############################################
snapd-2.45.2/snap/validate_test.go-100-			` must end with an ASCII alphanumeric or one of '+' or '~' (and not ':'),` +
snapd-2.45.2/snap/validate_test.go:101:			` and contains invalid characters: "$"`},
snapd-2.45.2/snap/validate_test.go-102-	}
##############################################
snapd-2.45.2/snap/validate_test.go-261-		err, ErrorMatches,
snapd-2.45.2/snap/validate_test.go:262:		`invalid definition of socket "sock": invalid "listen-stream": "\$SNAP/../some.path" should be written as "some.path"`)
snapd-2.45.2/snap/validate_test.go-263-}
##############################################
snapd-2.45.2/snap/validate_test.go-276-			err, ErrorMatches,
snapd-2.45.2/snap/validate_test.go:277:			`invalid definition of socket "sock": invalid "listen-stream": must have a prefix of \$SNAP_DATA, \$SNAP_COMMON or \$XDG_RUNTIME_DIR`)
snapd-2.45.2/snap/validate_test.go-278-	}
##############################################
snapd-2.45.2/snap/validate_test.go-439-	c.Assert(err, NotNil)
snapd-2.45.2/snap/validate_test.go:440:	c.Check(err.Error(), Equals, `app description field 'command' contains illegal "x\n" (legal: '^[A-Za-z0-9/. _#:$-]*$')`)
snapd-2.45.2/snap/validate_test.go-441-}
##############################################
snapd-2.45.2/snap/validate_test.go-565-	err = Validate(info)
snapd-2.45.2/snap/validate_test.go:566:	c.Check(err, ErrorMatches, `cannot have "foo\$" as alias name for app "foo" - use only letters, digits, dash, underscore and dot characters`)
snapd-2.45.2/snap/validate_test.go-567-}
##############################################
snapd-2.45.2/snap/validate_test.go-698-	c.Check(ValidateLayout(&Layout{Snap: si, Path: "$FOO", Type: "tmpfs"}, nil),
snapd-2.45.2/snap/validate_test.go:699:		ErrorMatches, `layout "\$FOO" uses invalid mount point: reference to unknown variable "\$FOO"`)
snapd-2.45.2/snap/validate_test.go-700-	c.Check(ValidateLayout(&Layout{Snap: si, Path: "/foo", Bind: "$BAR"}, nil),
snapd-2.45.2/snap/validate_test.go:701:		ErrorMatches, `layout "/foo" uses invalid bind mount source "\$BAR": reference to unknown variable "\$BAR"`)
snapd-2.45.2/snap/validate_test.go-702-	c.Check(ValidateLayout(&Layout{Snap: si, Path: "$SNAP/evil", Bind: "/etc"}, nil),
snapd-2.45.2/snap/validate_test.go:703:		ErrorMatches, `layout "\$SNAP/evil" uses invalid bind mount source "/etc": must start with \$SNAP, \$SNAP_DATA or \$SNAP_COMMON`)
snapd-2.45.2/snap/validate_test.go-704-	c.Check(ValidateLayout(&Layout{Snap: si, Path: "/foo", Symlink: "$BAR"}, nil),
snapd-2.45.2/snap/validate_test.go:705:		ErrorMatches, `layout "/foo" uses invalid symlink old name "\$BAR": reference to unknown variable "\$BAR"`)
snapd-2.45.2/snap/validate_test.go-706-	c.Check(ValidateLayout(&Layout{Snap: si, Path: "$SNAP/evil", Symlink: "/etc"}, nil),
snapd-2.45.2/snap/validate_test.go:707:		ErrorMatches, `layout "\$SNAP/evil" uses invalid symlink old name "/etc": must start with \$SNAP, \$SNAP_DATA or \$SNAP_COMMON`)
snapd-2.45.2/snap/validate_test.go-708-	c.Check(ValidateLayout(&Layout{Snap: si, Path: "/foo/bar", Bind: "$SNAP/bar/foo"}, []LayoutConstraint{testConstraint("/foo")}),
##############################################
snapd-2.45.2/snap/validate_test.go-920-	err = ValidateLayoutAll(info)
snapd-2.45.2/snap/validate_test.go:921:	c.Assert(err, ErrorMatches, `layout "/etc/norf" refers to directory "\$SNAP/etc/norf" but another layout treats it as file`)
snapd-2.45.2/snap/validate_test.go-922-
##############################################
snapd-2.45.2/snap/validate_test.go-936-	err = ValidateLayoutAll(info)
snapd-2.45.2/snap/validate_test.go:937:	c.Assert(err, ErrorMatches, `layout "/etc/norf" refers to file "\$SNAP/etc/norf" but another layout treats it as a directory`)
snapd-2.45.2/snap/validate_test.go-938-
##############################################
snapd-2.45.2/snap/validate_test.go-952-	err = ValidateLayoutAll(info)
snapd-2.45.2/snap/validate_test.go:953:	c.Assert(err, ErrorMatches, `layout "/etc/norf" refers to file "\$SNAP/etc/norf" but another layout treats it as a directory`)
snapd-2.45.2/snap/validate_test.go-954-
##############################################
snapd-2.45.2/tests/lib/nested.sh-312-            else
snapd-2.45.2/tests/lib/nested.sh:313:                echo "unknown nested core system (host is $(lsb_release -cs) )"
snapd-2.45.2/tests/lib/nested.sh-314-                exit 1
##############################################
snapd-2.45.2/tests/main/interfaces-hardware-random-control/task.yaml-12-
snapd-2.45.2/tests/main/interfaces-hardware-random-control/task.yaml:13:# Execution skipped on debian, arch and amazon due to device /dev/hwrng not
snapd-2.45.2/tests/main/interfaces-hardware-random-control/task.yaml-14-# created by default
##############################################
snapd-2.45.2/tests/main/interfaces-hardware-random-observe/task.yaml-12-
snapd-2.45.2/tests/main/interfaces-hardware-random-observe/task.yaml:13:# Execution skipped on debian, arch and amazon due to device /dev/hwrng not
snapd-2.45.2/tests/main/interfaces-hardware-random-observe/task.yaml-14-# created by default
##############################################
snapd-2.45.2/tests/snapd-state.md-8-For classic systems the snapd state is saved in a single file
snapd-2.45.2/tests/snapd-state.md:9:`$SPREAD\_PATH/tests/snapd-state.tar` and for all-snaps systems it is saved in a
snapd-2.45.2/tests/snapd-state.md:10:`$SPREAD\_PATH/tests/snapd-state` directory which is done to get better
snapd-2.45.2/tests/snapd-state.md-11-performance on boards.
##############################################
snapd-2.45.2/testutil/exec.go-107-// keeps the script file open for writing and execve() fails with ETXTBSY.
snapd-2.45.2/testutil/exec.go:108:var selfLock = `if [ "${FLOCKER}" != "$0" ]; then exec env FLOCKER="$0" flock -e "$(dirname "$0")" "$0" "$@" ; fi`
snapd-2.45.2/testutil/exec.go-109-
##############################################
snapd-2.45.2/timeutil/schedule.go-33-// Match 0:00-24:00, where 24:00 means the later end of the day.
snapd-2.45.2/timeutil/schedule.go:34:var validTime = regexp.MustCompile(`^([0-9]|0[0-9]|1[0-9]|2[0-3]):([0-5][0-9])$|^24:00$`)
snapd-2.45.2/timeutil/schedule.go-35-
##############################################
snapd-2.45.2/wrappers/desktop_test.go-515-	_, err = wrappers.RewriteIconLine(snap, "Icon=${SNAP}/./icon.png")
snapd-2.45.2/wrappers/desktop_test.go:516:	c.Check(err, ErrorMatches, `icon path "\${SNAP}/./icon.png" is not canonicalized, did you mean "\${SNAP}/icon.png"\?`)
snapd-2.45.2/wrappers/desktop_test.go-517-
snapd-2.45.2/wrappers/desktop_test.go-518-	_, err = wrappers.RewriteIconLine(snap, "Icon=${SNAP}/../outside/icon.png")
snapd-2.45.2/wrappers/desktop_test.go:519:	c.Check(err, ErrorMatches, `icon path "\${SNAP}/../outside/icon.png" is not canonicalized, did you mean "outside/icon.png"\?`)
snapd-2.45.2/wrappers/desktop_test.go-520-}
##############################################
snapd-2.45.2/wrappers/services_gen_test.go-177-			c.Check(wrapperText, Matches,
snapd-2.45.2/wrappers/services_gen_test.go:178:				`(?ms).*^Restart=no$.*`, Commentf(name))
snapd-2.45.2/wrappers/services_gen_test.go-179-		} else {
snapd-2.45.2/wrappers/services_gen_test.go-180-			c.Check(wrapperText, Matches,
snapd-2.45.2/wrappers/services_gen_test.go:181:				`(?ms).*^Restart=`+name+`$.*`, Commentf(name))
snapd-2.45.2/wrappers/services_gen_test.go-182-		}
##############################################
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst-46-
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst:47:`/run/snapd/ns/$SNAP_INSTNACE_NAME.mnt`:
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst:48:`/run/snapd/ns/$SNAP_INSTNACE_NAME.*.mnt`:
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst-49-
##############################################
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst-52-
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst:53:`/run/snapd/ns/snap.$SNAP_INSTNACE_NAME.fstab`:
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst:54:`/run/snapd/ns/snap.$SNAP_INSTNACE_NAME.*.user-fstab`:
snapd-2.45.2/.pc/0010-man-page-sections.patch/cmd/snap-discard-ns/snap-discard-ns.rst-55-
##############################################
snapd-glib-1.54/.travis.yml-15-  - docker pull $IMAGE
snapd-glib-1.54/.travis.yml:16:  - cid=`docker run --tty --detach --volume $TRAVIS_BUILD_DIR:/snapd-glib --workdir /snapd-glib $IMAGE bash`
snapd-glib-1.54/.travis.yml-17-  - if [ $IMAGE = "ubuntu:rolling" -o $IMAGE = "ubuntu:18.04" -o $IMAGE = "ubuntu:16.04" ]; then docker exec $cid apt-get update; fi