diff options
Diffstat (limited to 'pkgtools/pkglint/files/shell_test.go')
-rw-r--r-- | pkgtools/pkglint/files/shell_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/shell_test.go b/pkgtools/pkglint/files/shell_test.go index 8a2bbb01ac8..36dc8a06534 100644 --- a/pkgtools/pkglint/files/shell_test.go +++ b/pkgtools/pkglint/files/shell_test.go @@ -912,7 +912,10 @@ func (s *Suite) Test_ShellLineChecker_CheckShellCommandLine__shell_variables(c * "WARN: Makefile:3: $f is ambiguous. Use ${f} if you mean a Make variable or $$f if you mean a shell variable.", "WARN: Makefile:3: $f is ambiguous. Use ${f} if you mean a Make variable or $$f if you mean a shell variable.", "NOTE: Makefile:3: Please use the SUBST framework instead of ${SED} and ${MV}.", - "WARN: Makefile:3: f is used but not defined.") + "WARN: Makefile:3: f is used but not defined.", + // TODO: Avoid these duplicate diagnostics. + "WARN: Makefile:3: $f is ambiguous. Use ${f} if you mean a Make variable or $$f if you mean a shell variable.", + "WARN: Makefile:3: $f is ambiguous. Use ${f} if you mean a Make variable or $$f if you mean a shell variable.") ck.CheckShellCommandLine("install -c manpage.1 ${PREFIX}/man/man1/manpage.1") |