diff options
Diffstat (limited to 'pkgtools/pkglint/files/shell_test.go')
-rw-r--r-- | pkgtools/pkglint/files/shell_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/shell_test.go b/pkgtools/pkglint/files/shell_test.go index df2c57433a2..1db763e070c 100644 --- a/pkgtools/pkglint/files/shell_test.go +++ b/pkgtools/pkglint/files/shell_test.go @@ -26,7 +26,7 @@ func (s *Suite) TestChecklineMkShelltext(c *check.C) { } func (s *Suite) TestChecklineMkShellword(c *check.C) { - s.UseCommandLine("-Wall") + s.UseCommandLine(c, "-Wall") G.globalData.InitVartypes() line := NewLine("fname", "1", "dummy", nil) @@ -43,7 +43,7 @@ func (s *Suite) TestChecklineMkShellword(c *check.C) { } func (s *Suite) TestShelltextContext_CheckCommandStart(c *check.C) { - s.UseCommandLine("-Wall") + s.UseCommandLine(c, "-Wall") G.globalData.tools = map[string]bool{"echo": true} G.globalData.vartools = map[string]string{"echo": "ECHO"} G.globalData.toolsVarRequired = map[string]bool{"echo": true} |